cancel
Showing results for 
Search instead for 
Did you mean: 

HCI know_hosts file

0 Kudos

Hi

I'm trying to connect to a SuccessFactors SFTP server from HCI using the SFTP adapter.

I understand that I have to add a known_hosts file in the Manage Security Material section even if I'm using User Name/Password authentication.

I installed OpenSSH on my laptop and ran the following command.

"ssh-keyscan -t rsa sftpXXX.successfactors.eu"

....and got the following response:

"# sftpXXX.successfactors.eu:22 SSH-2.0-1.82_sshlib xxxx
sftpXXX.successfactors.eu ssh-rsa AAAAB3NzaC1yc2EAAAABEQAAAQEA2rHzZK6MtRHtHwfWLba9UN8u2uy7zhBrRR/ZgTfzrLAZzINcV1DwehXJAv7OHYGAOeNEOKo4dkZ1gCoO4thfhLrkv5hlTydZuBylKpSDr0GxYIOaWKWfHVXxgCQUCAyMkopIMYQfUhcMfGBXPRLEEPqTWA1zflSf9yrJgNxL/oGZkF+40ZjeBaUPW8/JOLeWtKnh3hyxzMmw5P6OVqUl58iALGjLRcYzvELxneOgn4wTlvEenNJrANbD/9L6cDUPbfZEqTFOpLznjW68yPZ+L7f6KIDmiWXIJA2PturoSbjAvbZQU9oR8ZMtF4aAs1RsKxckjGpLyhDyTWnq3/C34Q=="

I pasted this into a text file and deployed it in HCI Manage Security

However I'm still getting the following error in HCI Monitor Message Processing:
"org.apache.camel.componant.file.GenericFileOperationFailedException:Cannpt connect to sftp://9999999X@https:22, cause: java.net.UnknownHostException: https"

Thanks

Jonathan

0 Kudos

Hello Jonathan,

Were you able to resolve the above issue?

I am currently facing this issue even after deploying the known_hosts file.

Thanks

Regards

Advit

Accepted Solutions (0)

Answers (4)

Answers (4)

Go to the URL below:

http://www.mls-software.com/opensshd.html

Follow the installation instructions and run the following command:

ssh-keyscan -t rsa sftpXXX.successfactors.eu

Copy the output Text File. It'll look something like this:

sftpXXX.successfactors.eu ssh-rsa AAAAB3NzaC1yc2EAAAABEQAAAQEA2rHzZK6MtRHtHwfWLba9UN8u2uy7zhBrRR/ZgTfzrLAZzINcV1DwehXJAv7OHYGAOeNEOKo4dkZ1gCoO4thfhLrkv5hlTydZuBylKpSDr0GxYIOaWKWfHVXxgCQUCAyMkopIMYQfUhcMfGBXPRLEEPqTWA1zflSf9yrJgNxL/oGZkF+40ZjeBaUPW8/JOLeWtKnh3hyxzMmw5P6OVqUl58iALGjLRcYzvELxneOgn4wTlvEenNJrANbD/9L6cDUPbfZEqTFOpLznjW68yPZ+L7f6KIDmiWXIJA2PturoSbjAvbZQU9oR8ZMtF4aAs1RsKxckjGpLyhDyTWnq3/C34Q==

You can now deploy this known_hosts file in HCI

SS15
Participant
0 Kudos

Hello,

I deployed an credential under security material and went to connectivity test.

I gave the IP of the SFTP server and chose the deployed credential however I got error -

Invalid server response: Couldn't parse message

I got the same error by using Authentication - None

2] I also have ssh_host_rsa_key of the SFTP server. Where do I have to upload this in HCI?

0 Kudos

Hi Sriprasad

Try running the command ssh -V

Let me know if that does the trick.

Cheers

Jonathan


Former Member
0 Kudos

Hi Jonathan,

How can i get the HCI public key to import on the sftp.

Regards,

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Jonathan,

I have tried below but unable to get the key.Anything I am missing here.

I have installed below version of open SSH [ OpenSSH_7.3p1, OpenSSL 1.0.2h 3 May 2016 ]

Regards,

Sriprasad Shivaram Bhat

0 Kudos

Hello Sriprasad,

I have the same issue - no key is generated tried with opensshd as well as cygwin. did you figure out ?

Thanks

Chirag

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Chirag,

Now its very easier to get the same.First deploy your SFTP credentials to SAP CPI and follow the sequence maintained in the screenshot.

Post step# 8 open notepad and paste the entry which needs to be added to known_hosts file.

Regards,

Sriprasad Shivaram Bhat