Re: ssh with RSA-key login problem
On Sun, 1 Aug 1999, Fredrik Jonsson wrote:
: Hi,
:
: I have setup sshd on my Debina system, genrated keys for root and user1
: with ssh-keygen and put the public key in the file .ssh/authorized_keys.
: I have moved the private keys to my Mac where I run a ssh client
: (niftytelnet-1.1-ssh-r3).
:
: root login works without a problem but when I try to login as user1 my
: ssh client complains that "Server does not allow RSA authentication, or
: the public key for user "user1" was not accepted. Reverting to password
: authentication.
:
: What is wrong?
:
: Debian:/home/user1/.ssh# ls -la
: total 6
: drwxr-sr-x 2 user1 user1 1024 Aug 1 15:33 .
: drwxrwsr-x 10 user1 user1 1024 Aug 1 15:31 ..
: -rw-rw-r-- 1 user1 user1 327 Aug 1 15:33 authorized_keys
: -rw------- 1 user1 user1 523 Aug 1 15:32 identity
: -rw-rw-r-- 1 user1 user1 327 Aug 1 15:32 identity.pub
: -rw------- 1 user1 user1 512 Aug 1 15:31 random_seed
.ssh/authorized_keys is group writable, and that tends to freak out SSH.
`cd; chmod -R g-w .ssh/*' should help.
--
Nathan Norman
MidcoNet 410 South Phillips Avenue Sioux Falls, SD
mailto:finn@midco.net http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)
Reply to: