Topic "Passing password into a connection using a stored session"

Author Message

The password we use for a session must be changed every 90 days, so I need to password this into the script. The connection uses a proxy so I am using a stored session. There is no special characters in my password or username that would otherwise need to be encoded.

I have stored the session as WXYZ

When I use the command:

open username:password@sessionname

I get

Searching for host...
Host does not exist

Is it possible to use this format with a stored session?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
No you cannot do this.
See here to learn how to setup proxy in the script:

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License