Issue with SFTP

Advertisement

rog2961
Joined:
Posts:
1

Issue with SFTP

I am trying to script a task within SSIS to transfer files through SFTP. I've used the guide here with


option batch on
option confirm off
open sftp://username:password@company.com:22 -hostkey="ssh-rsa 2048 xx:xx:xx:xx:bd:32:15:b1:cb:cc:c2:c1:71:0d:68:b6"

When attempting to connect through the GUI with the same settings I have no issue. When attemping this through the command line I cannot connect. It will say "Searching for Host..." for about 15 seconds or so, and then "Network Error: connection Timed out" I do not believe this is a network issue as I can connect through GUI. Am using the 5.1.7, windows 7.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,096
Location:
Prague, Czechia

Re: Issue with SFTP

Turn on logging for both and compare the logs.
If you won't find the cause, please attach the logs here.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum