A long, long time ago, I had blog about Migrating Windows PuTTY registry to Linux
Since then I have have migrated away from PuTTY with preference for CLI.
There are posts for Migrating Windows PuTTY private key to Linux; however, they did not work for me.
This is what worked for me, much simpler, and avoid having to transfer private key from source to target.
-- At SOURCE:
Open PuTTYgen
File - Load private key
Select *.ppk
Conversions - Export OpenSSH key to id_rsa
Open text editor and copy content from id_rsa
-- At TARGET:
qadesusiwevo@pc-33d1fa:~$ cd ~/.ssh/
qadesusiwevo@pc-33d1fa:~/.ssh$ vi id_rsa
-- Copy content from source id_rsa to target
qadesusiwevo@pc-33d1fa:~/.ssh$ vi config
qadesusiwevo@pc-33d1fa:~/.ssh$ cat config
SendEnv LANG TERM LOGNAME
StrictHostKeyChecking=no
GSSAPIAuthentication=no
ForwardAgent=yes
TCPKeepAlive=yes
ServerAliveCountMax=10
ServerAliveInterval=30
qadesusiwevo@pc-33d1fa:~/.ssh$ cd
qadesusiwevo@pc-33d1fa:~$ vi setup.sh
qadesusiwevo@pc-33d1fa:~$ cat setup.sh
cd ~/.ssh
eval `ssh-agent -s`
ssh-add
ssh-add -l
exit
qadesusiwevo@pc-33d1fa:~$ chmod 600 ~/.ssh/id_rsa
qadesusiwevo@pc-33d1fa:~$ ./setup.sh
Agent pid 8268
Identity added: /home/qadesusiwevo@264-1-100-0-0-xxxxxxxxxx-us-common.vela.com/.ssh/id_rsa (/home/qadesusiwevo@264-1-100-0-0-xxxxxxxxxx-us-common.vela.com/.ssh/id_rsa)
2048 SHA256:D7OPt2dPVtZ8byfpZuZTCLYpUo54z/e6ouCdmDOtsuc /home/qadesusiwevo@264-1-100-0-0-xxxxxxxxxx-us-common.vela.com/.ssh/id_rsa (RSA)
qadesusiwevo@pc-33d1fa:~$ ssh username@10.26.31.203
Warning: Permanently added '10.26.31.203' (ECDSA) to the list of known hosts.
Last login: Wed Feb 24 04:28:19 2021 from ip-10-26-31-204.us-west-2.compute.internal
_| __| )
_| ( / Amazon Linux AMI
__|_|__|
https://aws.amazon.com/amazon-linux-ami/2016.09-release-notes/
82 package(s) needed for security, out of 149 available
Run "sudo yum update" to apply all updates.
Amazon Linux version 2018.03 is available.
-bash-4.2$ hostname
ip-10-26-31-203
-bash-4.2$ exit


