03/31/2023
04:55 AM
- last edited on
04/04/2023
02:09 PM
by
Dave
Hi All,
We are trying to configure Uinix_PWDLESS connection, we can't find any documentation in the portal and various attempts to configure it failed. We are tryin to use ppk key with a passphrase. We are able to login to host using Putty. Yet the connection doesn't work.
The error message extract (let me know if you want to see the whole thing):
2023-03-31 11:32:19,412 [https-jsse-nio-443-exec-525] DEBUG integration.ExternalConnectionCallService - in testExternalConnection for External Connection : LN-Unix-PCLTest-PWDLESS
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG services.UnixImportService - username=u1cogact pwd=***** hostName=138.12.81.20 port=22
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39mcom.jcraft.jsch.JSchException: java.io.FileNotFoundException: (No such file or directory)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.jcraft.jsch.KeyPair.load(KeyPair.java:543)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.jcraft.jsch.JSch.addIdentity(JSch.java:407)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.jcraft.jsch.JSch.addIdentity(JSch.java:388)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.jcraft.jsch.JSch$addIdentity$0.call(Unknown Source)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.saviynt.ecm.services.UnixImportService.testConnectionUnix(UnixImportService.groovy:1437)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.saviynt.ecm.services.UnixImportService$testConnectionUnix.call(Unknown Source)[m
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: [1;31m| Error [22;39m at com.saviynt.ecm.integration.ExternalConnectionCallService.testExternalConnection(ExternalConnectionCallService.groovy:441)[m
.
.
2023-03-31 11:32:19,421 [https-jsse-nio-443-exec-525] DEBUG services.UnixImportService - Error in testConnectionUnix com.jcraft.jsch.JSchException: java.io.FileNotFoundException: (No such file or directory)
2023-03-31 11:32:19,424 [https-jsse-nio-443-exec-525] DEBUG integration.ExternalConnectionCallService - EXIT invokeExternalMethod
How can it be fixed please?
Kind regards,
Piotr Jakimiuk
EDIT:
Just to add to this we have tried all different connection types (not sure if that makes any difference). We are also able to connect to the Unix system from SC2 client using username and private key.
Any thoughts?
For us it looks like the configuration issues as we don't see the traffic on the SC2 client when trying 'Save and test connection'. The error message is the same as above:
DEBUG services.UnixImportService - Error in testConnectionUnix com.jcraft.jsch.JSchException: java.io.FileNotFoundException: (No such file or directory)
[This post has been edited by a Moderator to merge two posts.]
Solved! Go to Solution.
04/07/2023 04:02 PM - edited 04/07/2023 04:03 PM
Hi @piotrj
Have you configured the "PassThroughConnectionDetails" attribute in the Unix connector?
Please see the document below for syntax...
https://docs.saviyntcloud.com/bundle/UNIX-v2020x/page/Content/Creating-a-Connection.htm
04/11/2023 04:30 AM
Thank you @timchengappa .
We tried different types of connection and don't see section called 'PassThroughConnectionDetails'. We are on version 5.5 SP3.12.
Also, when saving connection we don't see any traffic to from Dev environment to Unix client when running tcpdump on our SC2 server.
Kind regards,
Piotr Jakimiuk
04/12/2023 04:42 PM
05/11/2023 09:03 AM
We have uploaded the key file to SSM 'File Directory' and configured connection with path to the file in PEM key section.