Using PuTTY to SSH and authenticate with keys
Jerry McBride
mcbrides9
Fri Oct 7 17:01:07 PDT 2005
On Friday 07 October 2005 20:57, Net Llama! wrote:
> On Fri, 7 Oct 2005, Brad De Vries wrote:
> > Hey all, I'm trying to setup PuTTY (version 0.58) on a WinXP box and
> > SSH into my Red Hat 9.0 server (openssh-server-3.5p1-11). A simple
> > SSH seems to work fine but I'd like to get to the next level where I
> > can authenticate with keys rather than being prompted for a password.
> >
> > 1) Using PuTTYGen, I generated public and private keys with a passphrase.
> >
> > 2) I started Pageant (PuTTY Authentication Agent), imported my private
> > key and entered the passphrase from #1.
> >
> > 3) Copied the public key file to the RH server ~/.ssh/authorized_keys,
> > ripped out all comments and put the data on one line.
> >
> > 4) Created a PuTTY session with the following settings:
> > a) auto-login username (on the Connection | Data screen)
> > b) turned on the "allow agent forwarding" and specified my private
> > key (on the Connection | SSH | Auth screen)
> >
> > 5) Tried to login.
> >
> > Sadly, it still prompts for my password and I see nothing in the log
> > about it trying to authenticate with the keys.
> >
> > Obviously I'm missing something or not understanding something
> > correctly, so any suggestions would be welcome.
>
> getting ssh keys to work on windows is nothing short of one of the rings
> of hell. good luck.
I agree. It's a shame too. It would appear that ssh is one of those protocols
that Micosoft and company embraced and extended to the point of not working
to spec anymore....
--
******************************************************************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
6:53pm up 19 days, 9:18, 1 user, load average: 0.05, 0.07, 0.08
More information about the Linux-users
mailing list