[SLL] Anybody know why my Ubuntu sshd server isn't taking my DSA public key?

Brian Hatch bri at ifokr.org
Tue May 20 14:27:49 PDT 2008


When some clock read 2008-05-20 13:30 -0700, Xeno Campanoli mentioned:

> but my Ubuntu server, which is Hardy, and has:
> 
> OpenSSH_4.7p1 Debian-8ubuntu1.1, OpenSSL 0.9.8g 19 Oct 2007
> 
> isn't taking the thing.  In both cases I insert the key to the 
> .ssh/authorized_keys file using vim, and for the Ubuntu/Hardy I get 
> prompted for a password.  Go figure that.  ???

1) check the syslog info.
2) make sure your key is all one line, and didn't get line breaks when
   you copy/pasted it into .ssh/authorized_keys
3) make sure ~ ~/.ssh and ~/.ssh/authorized_keys aren't writeable by anyone
   but you

-- 
Brian Hatch                  If we aren't supposed
   Systems and                to eat animals, why
   Security Engineer          are they made of meat?
http://www.ifokr.org/bri/

Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists2.linuxjournal.com/pipermail/linux-list/attachments/20080520/88f9dfbb/attachment.sig 


More information about the linux-list mailing list