Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

No. Replace Password with PasswordPlain in all sections in the INI file.
ckyr

Thanks Martin for your reply.
The case is how to globally change the tunnel passwords for all the entries (about 40!)
Just to change the one (in User Interface) and then copy the encrypted password to all the entries in ini file (by Notepad++ ) did not work :-(
martin

Re: Update of tunnel password

So do you update Password or TunnelPassword?
Anyway, you can update PasswordPlain (or TunnelPasswordPlain) with a plain text password. WinSCP will encrypt them on the first run.
ckyr

Update of tunnel password

Hi,
we use a tunnel for connecting to our servers
so in the "WinSCP.ini" there are entries like:
[Sessions\kpdmdev02@DEV2]
HostName=vwcnctd02appl001
PingType=1
UserName=kpdmdev02
RemoteDirectory=/tmp/audit_manager
TunnelHostName=pdmfs1
TunnelUserName=kpdmdev02
Password=A35C7C58AAA6BAxxxxxxxxxxxxxxx6D3DEACB407D32A483548A06
 
[Sessions\kpdmdev02@DEV2-bld]
HostName=vwcnctd02bld001
PingType=1
UserName=kpdmdev02
RemoteDirectory=/l/pool/GRC
TunnelHostName=pdmfs1
TunnelUserName=kpdmdev02
Password=A35C4352A4F8D2745Cxxxxxxxxxxxxxxxxxx3E30386C6C6D2F283D2E286D3DE9

whenever we the pass for user kpdmdev02 change, we have to update manually the tunnel pass via the UI, e.g. Edit ->Advanced-> Tunnel -> password -> Save

Is there any other way to change the password globally for all the entries in WinSCP.ini file?