Stefan Eilemann wrote:
>
>
> On 18. Feb 2009, at 17:32, gr3go wrote:
>
>> - on A: ssh-keygen -t rsa, don't enter passphrase, just hit enter.
>> - id_rsa and id_rsa.pub will be generated to ~/.ssh
>> - copy id_rsa.pub from A to B
>> - copy-paste the content of id_rsa.pub to ~/.ssh/authorized_keys
>>
>> After executing these steps the "ssh B" should not promt for any
>> password. But prompts for password.
>
> Try 'chmod go-rwx ~/.ssh/authorized_keys'
>
>
>
> _______________________________________________
> eq-dev mailing list
> [email protected]
> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
> http://www.equalizergraphics.com
>
>
You were right, it was problem of accessing the authorized_keys file.
I ran the server in debug mode (sshd -ddd), and got the following error
message:" Authentication refused: bad ownership or modes for file..."
There are 2 possible methods for solving this problem:
1. Change the owner of the file/folder.
2. Dsiable strict mode in sshd_config:
Strictmode no
I used the second method, and the passwordless ssh is working well.
It took me 3 days to figure it out...:(
--
View this message in context:
http://n2.nabble.com/MultiNode-OpenSSH-problem-tp2347925p2358525.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com