|
2011-07-23
, 14:48
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#2
|
|
2011-07-23
, 15:07
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#3
|
looks like you need to edit your sshd config file to disable password authentification
|
2011-07-23
, 16:16
|
Posts: 166 |
Thanked: 74 times |
Joined on May 2010
|
#4
|
|
2011-07-23
, 16:30
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#5
|
I always forget to check the easy stuff? Have you double checked the permissions on the .ssh folder and files? They should not be group or world readable.
|
2011-07-23
, 17:29
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#6
|
The Following User Says Thank You to casper27 For This Useful Post: | ||
|
2011-07-23
, 17:34
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#7
|
Mmm definatley seems like a ownership issue try
chmod go-w .ssh /home/user/.ssh/
If that does not work edit /etc/passwd
Change
user:!:
To
user:*:
You may also have to give user a password, I've heard of problems before using the user account without a password. Make it a strong one.
|
2011-07-23
, 17:51
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#8
|
|
2011-07-23
, 17:58
|
|
Posts: 288 |
Thanked: 113 times |
Joined on Dec 2009
@ Germany
|
#9
|
Glad you got it sorted, I know how enraging those "Simple" problems are when you've been staring at them for a while
|
2011-07-23
, 18:08
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#10
|
The Following User Says Thank You to casper27 For This Useful Post: | ||
I got mine two days ago but still struggle to get password less ssh authentication with dsa keys to work.
Well, it does work, but only for root.
If I copy the .ssh folder from /root/.ssh to /home/user/.ssh and try to login from remote as user, I am always asked for a password.
ssh user@n950ip --> Password request
ssh root@n950ip --> Immediate shell access
I attached a sdiff output for a login as root and user (ssh -vvv).
Maybe someone can find the flaw.
Thanks for any suggestions,
Bjoern
My website:
- olausson.de
- gallery.olausson.de
My Applications:Last edited by blubbi; 2011-07-23 at 17:35. Reason: SOLVED