4

I would like to export all my existing WinSCP sessions (stored in winscp.ini) to PuTTY.

I know about the integration of both WinSCP and PuTTY. And it is working fine for me. But I would like to use PuTTY sometimes without opening WinSCP.

I have 100+ WinSCP sessions that I want to export to PuTTY. How would I go about it?

Wolf
  • 416

2 Answers2

2

For Winscp you can export the settings from winscp to a configfile:

To export/back up your configuration, go to Tools > Export/Backup configuration on Login dialog.

For Putty you can export the Registry to save the sessions and export to another PC

Computer\HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\

But to Convert from winscp to putty or the other direction you need a converter, i use the PuttySessionConverter

But i think there is no need to export to putty, you can use winscp as SessionManager mark a Session in WinScp and press CTRL+P and winscp open Putty.

SavGuard
  • 124
1

As @SavGuard already answered, you can actually use WinSCP as a better session manager for PuTTY.

There's no additional work comparing to opening the session in PuTTY directly. You can open PuTTY straight from WinSCP Login dialog. You do not have to open the session in WinSCP first.


But to answer your literal question: WinSCP uses a very similar storage format for saving the sites as PuTTY does.

So if you export the WinSCP registry key:

[HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Sessions]

[HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Sessions\MySession] "HostName"="example.com" "UserName"="username"

And replace HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Sessions with HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions, and import back, it should more or less work (though not all settings will import correctly).

As you currently use an INI file with WinSCP, you will first have to switch to registry storage.