Skip to content

Instantly share code, notes, and snippets.

@ymotongpoo
Created November 21, 2011 06:57
Show Gist options
  • Save ymotongpoo/1381882 to your computer and use it in GitHub Desktop.
Save ymotongpoo/1381882 to your computer and use it in GitHub Desktop.
convert PuTTy public key.
# convert PuTTY's public ssh key file into OpenSSH public key
ssh-keygen -i -f id_rsa_putty.pub > id_rsa.pub
@galb99
Copy link

galb99 commented Feb 6, 2023

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "rsa-key-20230206"
AAAAB3NzaC1yc2EAAAADAQABAAABAQDeLSivumYtbwoVF2m//vxaUbzMscsQ3gyo
bL8l6rGEA73MHWJKi/cLC/ZjTleloACgwd8Wiz0gjumrbaVb1nyIrlVETC3fWCLd
i4iM0V/r7vxBessvKkjqmwZrbT2vT3XgsWm4WxeUdZ0jhAb+kHXh5TxZezqDLsrZ
72lFENKsEHoZxRYdQXqNE6dLEapkPKAjXWA5RKmd7ALwiw7pTdgWUR1/aty8qTn9
mbie5TiSd/8HMYWzNKNydx/I0+MnwjKsOkliq4SUUsdJXZrduVrcQtrMYRcB/Er2
XGr3dtmavMyk6WYkbN9ywxOqjOFaJlKNIzfyS4Ie4+TUduQqnMqB
---- END SSH2 PUBLIC KEY ----

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment