In scripting you should not rely on saved sites

Advertisement

itsaftab
Joined:
Posts:
2

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,426
Location:
Prague, Czechia

Re: In scripting you should not rely on saved sites

Use the suggested command instead.

Reply with quote

Advertisement

You can post new topics in this forum