[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh with RSA-key login problem



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

Regards,
Fredrik Jonsson

--
A mind is like a parachute. It doesn't work if it's not open.
Phone: (Int. +46) 063-12 54 61/070-628 71 20
Address: Box 31, S-831 21 Östersund, Sweden
Web site: <http://www.combonet.se/>


Reply to: