Re: How can Putty load my public key generated with OpenSSH
From: Ralph (rgreen_at_preferredstaff.net)
Date: 10/21/03
- Previous message: root: "Re: SSH on port 80?"
- In reply to: Jacob Nevins: "Re: How can Putty load my public key generated with OpenSSH"
- Next in thread: dkoleary_at_attbi.com: "Re: How can Putty load my public key generated with OpenSSH"
- Reply: dkoleary_at_attbi.com: "Re: How can Putty load my public key generated with OpenSSH"
- Reply: Jacob Nevins: "Re: How can Putty load my public key generated with OpenSSH"
- Reply: Darren Dunham: "Re: How can Putty load my public key generated with OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 20 Oct 2003 18:58:38 -0700
Jacob Nevins <jacobn@chiark.greenend.org.uk> wrote in message news:<tnh*kmr5p@news.chiark.greenend.org.uk>...
> Ralph <rgreen@preferredstaff.net> writes:
> > I have the OpenSSH daemon running on a Linux box. I have Putty on a
> >Windows machine. I want them to talk securely. I can't figure out
> >how to make Putty use the public keys I generated with OpenSSH and
> >copied over from the Linux box.
>
> Why do you want to load a _public_ key into PuTTY?
>
> To authenticate a user using pubkey auth, you need a _private_ key on
> the client (PuTTY) and a _public_ key on the server (OpenSSH).
On the OpenSSH server box, I generated two keys. One is private and
stays there. One is public and gets copied to the remote machine I
will connect from. It is that public key I need to load into Putty.
I also generated a set of keys on the Windows system with Putty. I
copied the public key from there to the Linix box and put it into
authorized_keys. I have PasswordAuthentication off on the Linux box
for improved security, so I think I need both sets of keys.
Perhaps my terminology is off. If so, please correct me. I call
the key that stays on the machine that generates it a private
key(because it is not disclosed to anyone). I call the key that gets
copied to the remote machine the public key. I am not trying to come
up with my own definitions. This is my impression from what I have
read.
Even if I had the term wrong, as I said in the original note, I
can't get putty to load the auhorized key file. I tried the
conversions menu choice in puttygen, too. I don't think I mentioned
that in the first note. I suspect the problem is the format of the
key file. OpenSSH generates a single line (for each key) in the key
file. Putty puts a header on the key and breaks the lines up. I
could edit the key file to change its format, but I don't know what
values to put for all the header fields.
Good day,
Ralph
- Previous message: root: "Re: SSH on port 80?"
- In reply to: Jacob Nevins: "Re: How can Putty load my public key generated with OpenSSH"
- Next in thread: dkoleary_at_attbi.com: "Re: How can Putty load my public key generated with OpenSSH"
- Reply: dkoleary_at_attbi.com: "Re: How can Putty load my public key generated with OpenSSH"
- Reply: Jacob Nevins: "Re: How can Putty load my public key generated with OpenSSH"
- Reply: Darren Dunham: "Re: How can Putty load my public key generated with OpenSSH"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|