I am really really new to this and but I am trying to write a script that will untimely sync some files between some networking equipment and my desktop...
this is what I get in the log file...
Searching for host...
Connecting to host...
Connection has been unexpectedly closed. Server sent command exit status 0.
this is what my Script looks like
open scp:192.168.1.21 -hostkey="ssh-rsa 1040 OPnZrsdw14pOWRif......."
this is how I start the script
"C:\Program Files (x86)\WinSCP\winscp.com" /ini=nul /script=c:\junk\testscr.txt >log.txt
What I am doing wrong... I do not know how to deal with the password....
any other suggestions would be welcome