Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot login with publickey on sshd
Date: Thu, 18 Dec 2008 21:34:36
Message-Id: 200812182334.16724.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Cannot login with publickey on sshd by Mick
1 On Thursday 18 December 2008 23:17:13 Mick wrote:
2 > > The only time I have a problem w/pub/private keys is when
3 > > I create them on a windows box and try to export it to ssh.  The other
4 > > way around always works for me.
5 >
6 > The MSWindows generated keys will work, either from PuTTY or Cygwin, but
7 > you have to be careful with hard returns at the end of lines (CR/LF).  Use
8 > Notepad++ to paste your key in and you should find that it works fine.
9
10 PuTTY comes with a utility to convert it's keys to openssh format. I insist my
11 PuTTY users do this themselves before they send me the public key to be
12 deployed on the servers. It works well for me - if they get stroppy and don't
13 do this, they don't get access <shrug>
14
15 --
16 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] Cannot login with publickey on sshd Eric Martin <freak4uxxx@×××××.com>