Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

textaiwo

Got it working.
Credentials were not correct.
Thanks
textaiwo

SFTP SyncToLocalScript with 'Unknown command ssh-rsa ' error

Hi Team,
I am trying to Sync from SFTP server to local dir, i have two files, a .bat file and a .txt file
.bat content is as follow
winscp.com /script=SyncToLocalScript.txt

pause

.txt file is as follow
option batch abort

option confirm off
open sftp://w30002:******@data.testserver.com:22 -hostkey="ssh-rsa 4096 71:****************"
synchronize local C:\ADP /RAW_DATA/
exit

The error am getting is Unknown command 'ssh-rsa'
Please what am i doing wrong, does WinSCP not support ssh-rsa 4096