What is the public key file that is generated by PuTTY?

Posted by Karl Nicoll on Super User See other posts from Super User or by Karl Nicoll
Published on 2014-06-07T20:26:29Z Indexed on 2014/06/07 21:28 UTC
Read the original article Hit count: 284

Filed under:
|
|

If I'm using the PuTTY key generator to create a public/private key pair, there is a button to "Save public key" like so:

Highlighted button in the PuTTY Key Generator window

However OpenSSH doesn't accept the format of this public key file, at least as far as I can tell. The generated public key looks like this:

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "rsa-key-20140607"
AAAAB3NzaC1yc2EAAAABJQAAAQEAs+UjC01Fk8xs8vpLW1RIipwxG1zXTaCkIdeJ
K3SyhMVl78/QwErTYuIop3wVmVAuTKhw4uYCMaRZCy36FdSGQ9FwDCP+lT36M2Xv
ZtraweH+1IPHzRf2ENNdEfs286zllu96WGtqLYwObXQbHMm3dPDDbH3apynrS/FJ
HisCayFXFN84aBfh9HFHrM++BXqpxTX5nq50QoRwSjMY6qMuLwjJKKQslcb5hlRV
SjCmUZKv9/fH+i0BI7UHJ01XHNp1sisL5biWkakXD9BxXjv/ggyeLsOTtdtrF0DK
7wYQXyNmpRqHYOBdrZlskHf/R1CtWoBi5IIeARWZVDduXf1Pww==
---- END SSH2 PUBLIC KEY ----

(Key is not an actual public key)

Where is this key used typically? Does it work with OpenSSH at all?

© Super User or respective owner

Related posts about ssh

Related posts about putty