B2B Integration

Sterling B2B Integration

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  SSH Known Host Key

    Posted Thu April 16, 2020 05:51 PM
    ​Hoping someone can help..I'm trying to check in a Known Host Key and am getting the following error:

    "Error occured while fetching the key! Please check the Host and Port information and try again"

    I am able to SFTP to the host I'm trying to obtain key from command line without any issues.

    Any help is much appreciated.

    Karen


    ------------------------------
    Karen Gallello
    ------------------------------

    #SupplyChain
    #B2BIntegration


  • 2.  RE: SSH Known Host Key

    Posted Thu April 16, 2020 08:22 PM
    Hi Karen,

    I have also run into instances where this occurs. If you can, use ssh-keyscan like this:

    ssh-keyscan -t rsa example.com > example.com.txt

    then edit the file and remove the hostname in that file and check it into SFG.

    Thanks!



    ------------------------------
    Dustin Souers
    ------------------------------



  • 3.  RE: SSH Known Host Key

    Posted Sun April 19, 2020 11:50 PM
    Ensure you have connectivity with the partner’s remote server. They may have to whitelist your outbound IP address.




  • 4.  RE: SSH Known Host Key

    Posted Thu April 16, 2020 08:22 PM
    Hi Karen,

    If you can use ssh-keyscan with for example ssh-keyscan -t rsa example.com > example.com.txt. Then edit the file to remove the hostname at the beginning and check it in. That has worked for me on several servers.

    Thanks!

    ------------------------------
    Dustin Souers
    ------------------------------



  • 5.  RE: SSH Known Host Key

    Posted Fri April 17, 2020 08:20 AM
    @Dustin Souers - thank you so much!  That worked just fine.

    Also appreciate the very quick response.

    Karen​​

    ------------------------------
    Karen Gallello
    ------------------------------



  • 6.  RE: SSH Known Host Key

    Posted Fri April 17, 2020 09:18 AM
    Hi Karen,

    Please check the perimeter server configuration on your "SSHKeyGrabberAdapter".  If the host is "external" you may need to select the appropriate Perimeter server in order to connect to the host and grab the SSH key

    ------------------------------
    Ankit Modi
    ------------------------------