SFTP SyncToLocalScript with 'Unknown command ssh-rsa ' error

Advertisement

textaiwo
Joined:
Posts:
2
Location:
Nigeria

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

Last edited by textaiwo on 2018-07-24 11:47; edited 1 time in total

Reply with quote E-mail

Advertisement

Advertisement

You can post new topics in this forum