This topic contains 0 replies, has 0 voices, and was last updated by borncorp 8 years, 1 month ago.

  • Author
    Posts
  • #1751

    borncorp

    I posted this on the other forum section, but I think it belongs here.

    One of the new features of SuiteScript API 2016.2 is the ability to connect to SFTP Servers directly from Netsuite. Unfortunately the process is a bit confusing if you are new to the SFTP world, so I created a tool that will help you jump-start your script.

    I found this tool very useful as I was able to test an SFTP connection quickly for a client and turned out the SFTP server that they were trying to use didn’t actually support Netsuite’s approved algorithms (aes256-ctr, es192-ctr, es128-ctr), so it saved me a lot of time as I was able to quickly discard it and move on.

    I also included an endpoint to get the HostKey of the URL you are trying to connect to. I think this will be very useful for people who don’t have a Linux server lying around where they can run ssh keyscan.

    Here’s a video tutorial:

    And here’s the code, have fun!:

    https://ursuscode.com/netsuite-tips/…2-0-sftp-tool/
    This is a cached copy. Click here to see the original post.

You must be logged in to reply to this topic.