[lug] Windows/PuTTY and Linux SSH Key Pair Compatibility

Dan Mackin dan.mackin at gmail.com
Fri Dec 28 16:26:12 MST 2018

Sounds like the user clicked the "Save public key" button in the Putty
KeyGen app instead of selecting and copying the text in the public key box
at the top. See the attached screenshot.

<sarcasm> I mean, I don't know why folks would think they should click the
"Save public key" button to get a copy of their public key... </sarcasm>

On Fri, Dec 28, 2018 at 2:22 PM D. Stimits <stimits at comcast.net> wrote:

> I'm trying to find out what is possible for copying a Windows-generated
> RSA public key (puttygen) to a Linux server. I do not have physical access,
> and I have my own key set up since I personally only use Linux to log in,
> but need to add a login for another user...and that user is using Windows.
> The trouble is that the public key is not what I expected...it is
> multi-line, it contains other comment, so on. It looks more like an email
> PGP key, but ignoring actual body content, this is the format:
> Comment: "rsa-key-20181228"
> ABC...cut...TEn
> DEF...cut...HHN
> ghi...cut...W2L
> JkL...cut...YYB
> XYZ...cut...srW
> Foo...cut...Bar
> ---- END SSH2 PUBLIC KEY ----
> So far as I know, the Linux style ".ssh/authorized_keys" would use a
> single line, and I am guesing that simply concatenating that content like
> an OpenSSH style single key might break it. I could have other ssh logins
> ready before doing this, so it isn't 100% that breaking this would lock me
> out, but I'd rather hear from someone who has done this before what the
> correct way is.
> Or, if there are comments on whether alternates to PuTTY (e.g., WinSCP)
> have worked out when a Windows user needs to occasionally copy a file to a
> Linux server (mostly just PDF files to a document directory). My goal is to
> have the Windows user with a single ssh key and keyless login.
> Thanks!
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20181228/c144bc8d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pubkey.jpg
Type: image/jpeg
Size: 79658 bytes
Desc: not available
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20181228/c144bc8d/attachment-0001.jpg>

More information about the LUG mailing list