On Thursday 24 February 2011 18:09:22 dhk wrote:
> On 02/24/2011 08:53 AM, Mick wrote:

> > Have you tried using ssh user@host to login with?
> 
> At first all I did was an update:  emerge -uDN world .  They when it
> didn't work I removed all public and private keys and restarted sshd.
> That didn't work then I tried the ssh-keygen and ssh-keyscan.  That
> didn't work so I removed all keys again and restarted sshd.  Are there
> ssh_config or sshd_config options that should be set?

I recommend you have another look at:

 http://www.gentoo.org/doc/en/articles/openssh-key-management-p1.xml

and from there Part 2 and Part 3 just in case you are missing something basic.

The only difference being that the latest openssh version is now using ECDSA 
as the default.

Therefore you should specify it as the prefered option in your server's and 
client's config files (which from the elog I am led to believe that it is the 
new default setting).

Also, note the elog comment about users needing a valid shell in /etc/passwd.  
Does your user have /bin/bash (or other shell of choice) at the end of the 
line in /etc/passwd?

PS.  I am able to login into a gentoo box which is running 5.8_p1-r1 using my 
ssh_host_rsa_key from a client also running 5.8_p1-r1.  So it seems that old 
keys should work fine - unless you have removed them from your server.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to