I've been using the syntax
WinSCP.exe /console /command "open sftp://oracle:<PASSWORD>@ENLIHGP03ODB01 -hostkey=*"
I can connect from the same Windows host to the same Linux host using the WinSCP GUI.Searching for host...
Connecting to host...
Using username "oracle".
Authenticating with pre-entered password.
Starting the session...
Connection has been unexpectedly closed. Server sent command exit status 127.
Cannot initialize SFTP protocol. Is the host running a SFTP server?
I tried turning on logging by adding the following to my command line call:
/log "W:\Install\Private\Oracle\Scripts\Linux\Migration_MMP1\winscp_cmd.log"but I did not get any logfile.