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,