Update of tunnel password

Advertisement

ckyr
Joined:
Posts:
2

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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,286
Location:
Prague, Czechia

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.

Reply with quote

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 :-(

Reply with quote

Advertisement

You can post new topics in this forum