In scripting you should not rely on saved sites
I keep on getting this on the log for my scripts. I have the latest version of WinSCP installed.
What should i do?
The scrip is working fine though.
In scripting you should not rely on saved sites, use this command instead:
open sftp://P123456789@123.456.78.9/ -hostkey="ssh-rsa 2048 57:ae:69:df:d3:d8:49:f2:86:d2:ca:ab:57:fd:4e:ef" -privatekey="C:\WinSCP\privatekey.ppk" -rawsettings AgentFwd=1 SFTPMaxVersion=3
Searching for host...
Connecting to host...
Authenticating...
Using username "P123456789".
Authenticating with public key "rsa-key-20150511".
Authenticated.
Starting the session...
Session started.
Active session: [1] eInnvoice_Receive
What should i do?
The scrip is working fine though.
In scripting you should not rely on saved sites, use this command instead:
open sftp://P123456789@123.456.78.9/ -hostkey="ssh-rsa 2048 57:ae:69:df:d3:d8:49:f2:86:d2:ca:ab:57:fd:4e:ef" -privatekey="C:\WinSCP\privatekey.ppk" -rawsettings AgentFwd=1 SFTPMaxVersion=3
Searching for host...
Connecting to host...
Authenticating...
Using username "P123456789".
Authenticating with public key "rsa-key-20150511".
Authenticated.
Starting the session...
Session started.
Active session: [1] eInnvoice_Receive