How to load existing WinSCP sessions into PuTTY sessions?

2

1

I would like to export all my existing WinSCP sessions (stored in winscp.ini) into 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 the WinSCP?

I have 100+ WinSCP sessions that I want to export into PuTTY?

user3058277

Posted 2019-08-01T18:06:10.530

Reputation: 21

Answers

1

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

Posted 2019-08-01T18:06:10.530

Reputation: 114

0

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 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.

As you currently use INI file with WinSCP, you will first have to import the INI file to registry.

Martin Prikryl

Posted 2019-08-01T18:06:10.530

Reputation: 13 764