Creating a session list by editing .ini file with PuTTY port tunneling
Hello,
I'm currently preparing a sharable WinSCP.ini-File which co-workers can easily import to have the same WinSCP settings as me.
However I can't seem to get the sessions to use the settings I described in my WinSCP.ini.
I've converted our Server list into the following format (actual names and numbers converted to variables for privacy reasons):
and added these Session-Sections to WinSCP.ini.
However when restarting WinSCP with the newly created WinSCP.ini I can see the properly created sessions but they don't use HostName and PortNumber but instead use defaults (blank HostName and PortNumber of 22).
A working Session in my current WinSCP.ini looks similar:
I've changed HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Tunnelsession\PortForwardings accordingly.
Could it be parts of the current configuration interfering with the new structure?
Deleting entries in the SshHostKeys and Configuration\CDCache-Sections did not help.
Thanks for your help,
Pirm
I'm currently preparing a sharable WinSCP.ini-File which co-workers can easily import to have the same WinSCP settings as me.
However I can't seem to get the sessions to use the settings I described in my WinSCP.ini.
I've converted our Server list into the following format (actual names and numbers converted to variables for privacy reasons):
[Sessions\Servers/Service/user@FQDN (Section)] HostName=localhost PortNumber=$local_Port_for_PuTTY_tunneling Username=$USERNAME LocalDirectory=C:%5CUsers%5C RemoteDirectory=/
However when restarting WinSCP with the newly created WinSCP.ini I can see the properly created sessions but they don't use HostName and PortNumber but instead use defaults (blank HostName and PortNumber of 22).
A working Session in my current WinSCP.ini looks similar:
[Sessions\Servers/user@server1] HostName=localhost PortNumber=1234 UserName=root21b
I've changed HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Tunnelsession\PortForwardings accordingly.
Could it be parts of the current configuration interfering with the new structure?
Deleting entries in the SshHostKeys and Configuration\CDCache-Sections did not help.
Thanks for your help,
Pirm