Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

SFTP connection information

HarishG
Regular Contributor
Regular Contributor

Hi,

We are trying to create a SFTP connection. Initially it was failing with invalid private key error. However we asked SFTP team to open the SFTP firewall ports for everyone, then the connection was successful.

Now we need give the saviynt address to SFTP team to allow the connection to this address.

Is there any way i can fetch these details? or do i need to raise a ticket?

 

Best regards

Harish

7 REPLIES 7

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @HarishG,

We are checking on your request and we will keep you posted.

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @HarishG,

Please refer the below mentioned documentation for your requested details.

https://docs.saviyntcloud.com/bundle/SFTP-Certified-v24x/page/Content/SFTP-File-Transfer-Integration...

https://docs.saviyntcloud.com/bundle/SFTP-Certified-v24x/page/Content/Configuring-the-Integration-fo...

Please validate and let us know if further details are needed.

HarishG
Regular Contributor
Regular Contributor

Hi @DixshantValecha ,

We have configured according to the documentation. But we are getting the below error:

connectorms-c.s.s.s.service.SFTPAuthService-http-nio-8980-exec-8-65hg9-DEBUG-Exception in testConnection : |com.jcraft.jsch.JSchException: invalid privatekey: [B@1c7aac73| at com.jcraft.jsch.KeyPair.load(KeyPair.java:747) ~[na:na]| at com.jcraft.jsch.KeyPair.load(KeyPair.java:561) ~[na:na]| at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40) ~[na:na]| at com.jcraft.jsch.JSch.addIdentity(JSch.java:406) ~[na:na]| at com.jcraft.jsch.JSch.addIdentity(JSch.java:366) ~[na:na]| at com.saviynt.ssm.sftpconnector.service.SFTPAuthService.testConnection(SFTPAuthService.java:43) ~[na:na]|

But if the SFTP firewall ports are opened for everyone, then the connection is successful. 

so we would like to whitelist the saviynt address in SFTP server, so that it will allow the connection.

is there any way i can fetch that address? or do i need to create a ticket with saviynt support to get the address?

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @HarishG,

The error message you've provided indicates an issue with the private key during the SFTP connection attempt. However, you're able to connect successfully when the firewall ports are opened for everyone. This suggests that there might be a specific IP or range of IPs that need to be whitelisted on the SFTP server.

Let me check on this and get back to you with an update.

DixshantValecha
Saviynt Employee
Saviynt Employee

Hi @HarishG,

You will need to create a ticket with saviynt support to get the required details.

HarishG
Regular Contributor
Regular Contributor

Thanks @DixshantValecha ,

We have received IP from saviynt and whitelisted in SFTP server, but we still get the bellow error. Any idea?

Error:

2024-01-25T11:02:19+01:00-connectorms-c.s.s.s.service.SFTPAuthService-http-nio-8980-exec-10-65hg9-DEBUG-Exception in testConnection : |com.jcraft.jsch.JSchException: SSH_MSG_DISCONNECT: 11 - RequestId:60e12e0b-901e-0038-5875-4f0351000000 Time:2024-01-25T10:02:19.5889559Z | at com.jcraft.jsch.Session.read(Session.java:1004) ~[na:na]| at com.jcraft.jsch.UserAuthPublicKey.start(UserAuthPublicKey.java:198) ~[na:na]| at com.jcraft.jsch.Session.connect(Session.java:470) ~[na:na]| at com.jcraft.jsch.Session.connect(Session.java:183) ~[na:na]| at com.saviynt.ssm.sftpconnector.service.SFTPAuthService.testConnection(SFTPAuthService.java:57) ~[na:na]| at com.saviynt.ssm.sftpconnector.SFTPConnector.test(SFTPConnector.java:43) ~[na:na]|

Possible reasons for this error could include network issues, authentication failures, or server-side configuration problems.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.