How to Convert OpenSSH keys to Putty (.ppk) on Linux
source link: https://haydenjames.io/how-to-convert-openssh-keys-to-putty-ppk-on-linux-with-puttygen/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to Convert OpenSSH keys to Putty (.ppk) on Linux
PuTTYgen is a key generator for creating SSH keys for PuTTY. PuTTYgen is comparable in certain respects to the ssh-keygen tool. PuTTYgen can create public and private key pairs (in .ppk file format). In addition, PuTTYgen can also be used to convert keys to and from other formats. On Windows, PuTTYGen is a graphical tool. A command-line version is available for Linux.
When you run puttygen, it does three things. Firstly, it either loads an existing key file (if you specified keyfile), or generates a new key (if you specified keytype). Then, it optionally makes modifications to the key (changing the comment and/or the passphrase); finally, it outputs the key, or some information about the key, to a file.
How to use puttygen
On Arch Linux its simple…
pacman -S putty
On RHEL/Centos:
yum install putty
Fedora:
dnf install putty
Debian/Ubuntu try…
apt install putty-tools
Then cd to the path of key(s):
puttygen keyname -o keyname.ppk
Make sure you’ve replaced the “keyname” with your private key filename.
Reference:
https://www.ssh.com/ssh/putty/ – Putty official page.
https://www.ssh.com/ssh/keygen/ – ssh-keygen tool.
https://www.ssh.com/ssh/putty/linux/puttygen – Command line.
https://www.ssh.com/ssh/putty/windows/puttygen – PuTTYgen Windows.
Also, check out Remmina (supports RDP, SSH, VNC and more)
First published: May 16, 2013 | Last updated: Jan 4th, 2023.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK