We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Unix PWDLESS connection - unable to connect

piotrj
New Contributor III
New Contributor III

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 :: | Error com.jcraft.jsch.JSchException: java.io.FileNotFoundException: (No such file or directory)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.jcraft.jsch.KeyPair.load(KeyPair.java:543)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.jcraft.jsch.JSch.addIdentity(JSch.java:407)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.jcraft.jsch.JSch.addIdentity(JSch.java:388)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.jcraft.jsch.JSch$addIdentity$0.call(Unknown Source)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.saviynt.ecm.services.UnixImportService.testConnectionUnix(UnixImportService.groovy:1437)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.saviynt.ecm.services.UnixImportService$testConnectionUnix.call(Unknown Source)
2023-03-31 11:32:19,419 [https-jsse-nio-443-exec-525] DEBUG println.PrintlnToLogger - Println :: | Error  at com.saviynt.ecm.integration.ExternalConnectionCallService.testExternalConnection(ExternalConnectionCallService.groovy:441)

.

.

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.]

 

 

4 REPLIES 4

timchengappa
Saviynt Employee
Saviynt Employee

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

piotrj
New Contributor III
New Contributor III

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

 

timchengappa
Saviynt Employee
Saviynt Employee

Hi @piotrj 

Let me gather some additional information on this and get back to you as soon as I can.

piotrj
New Contributor III
New Contributor III

We have uploaded the key file to SSM 'File Directory' and configured connection with path to the file in PEM key section.