Convert your exported list of PuTTY accounts to a OpenSSH configuration file.
If you're moving from Windows to Linux you'll probably want to keep all your SSH accounts you've been using in PuTTY.
On a Linux OpenSSH will be the simplest tool help you keep track of all your SSH accounts.
To speed up the migration convert your list of accounts from PuTTY registery key to a OpenSSH configuration file format.
The below command should export all your sessions to the a file putty.reg
on your desktop.
regedit /e "%userprofile%\desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions
- Copy your exported PuTTY sessions to your Linux (with installed php).
- Place the
putty.reg
file in the same directory as theconvert.php
script. - Run the
convert.php
in Terminal to generate a OpenSSH configuration file.
php convert.php putty.reg ssh_config
- Copy the
ssh_config
file to~/.ssh/config
.
cp ./ssh_config ~/.ssh/config
- HostName
- PortNumber
- UserName
https://www.opennet.ru/cgi-bin/opennet/man.cgi?topic=ssh&category=1