Re: Can not connect to AIX with WINSCP 4.0.0 and Privatekey
This works to open the console:
winscp.exe /console /open sftp://user22@host21.mybank.ch -privatekey=RSA.key.ppk /script scp_kript.scp
There's no /open command line parameter. It is simply ignored.
This don't work
winscp.exe /console /command "open sftp://user22@host21.mybank.ch -privatekey=RSA.key.ppk" "ls"
I tried many variants. Including Skript file.
This is correct. Though -privatekey switch to open command (as opposite to command line parameter /privatekey) has been introduced in 4.1 only. Please upgrade.