Gandi Wiki


You are on a question's page

Using Linux
new

Question "Password less logins for usersname", by Torbjørn S.

I manage to setup ssh to accept password-less logins for root, but I cant replicate this for a spesific user. sshd_config and ssh_config seems fine to me. Hints anyone?

Answer, by Michael S.

Is the shell script ssh-copy-id available? If possible, use that to copy your public key across; it will set the permissions of ~/.ssh/authorized_keys correctly, which is likely to be the problem. Also try logging in with the -v option (i.e. "ssh -v server.com"); that may also help you diagnose the problem.

Last modified: 29 Jun 2009 at 00:35 by Michael S.