Forum Discussion

rmedeiros's avatar
rmedeiros
New Contributor III
2 years ago

SFTP without RSA Private Key

Hi, 

I need to deliver a file to a sftp server that doesn't require a private key. I'm able to connect to it from terminal with command "sftp -P 22010 uni@ftp.server.gov" then it request a password, I enter it and I'm in. It also works from WinSCP just by setting address, user and password.

The think I can't do the same via Snaplogic. The SSH Account snap Private Key field is required and it won't connect without it.  How can I connect to this SFTP server with Snaplogic? 

3 Replies

  • nativeBasic's avatar
    nativeBasic
    New Contributor III

     

    Hello, You can setup a Binary account and then Basic Auth if you just want to provide username and password:

     

    • rmedeiros's avatar
      rmedeiros
      New Contributor III

      Thanks for the answer, I tried this and I'm getting the following error: 

      Failure: Unable to read from sftp://ftp.server.gov:22010/, Reason: java.io.IOException: Failed to get SFTP session connected, Resolution: Check for URL syntax and file access permission

      There is no file or folder in the ftp, so i should just connect to root. 

  • nativeBasic's avatar
    nativeBasic
    New Contributor III

    When you connect via WinSCP are you behind a firewall?

    Is sftp://ftp.server.gov:22010 readily accessible over the internet?