on 09-04-2015 11:46 AM
Hi Experts,
We are trying to configure SFTP sender communication channel with Private key authentication method.
We are able to connect using user id-password authentication method, but while trying to use private key authentication method, we are getting the following error:
Exception received: com.jcraft.jsch.JSchException: connection is closed by foreign host
We have followed the steps defined in the document:
We are testing with only one channel keeping other channels stopped.
Please suggest.
We are using SAP PI 7.4 single stack.
Regards,
Suman
Hi Suman,
Have you tried with an external tool like winscp?. The problem could be on the SFTP server that doesn't accept private key without id/pass authentication.
Regards-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Inaki,
We have tried with putty to connect and it was able to connect without password only using the username.
But from PI channel,we were unable to connect without password.
So we have created a new certificate and public-private key pair.
The public key is imported into SFTP server now.
But now we are unable to connect using user id-password also.
Regards,
Suman
Hi Suman,
This could be the issue with the SFTP server you are trying to connect.
You can confirm this by logging in with WinScp.
You can login through WinScp in case of Key authentication also, if you have PI public key with you.
Thanks,
Prasad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.