Skip to Content
avatar image
Former Member

HCI know_hosts file

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 15, 2016 at 01:13 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 26, 2016 at 08:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 26, 2016 at 01:13 PM

    Hi Sriprasad

    Try running the command ssh -V

    Let me know if that does the trick.

    Cheers

    Jonathan


    Add comment
    10|10000 characters needed characters exceeded