Skip to contentSkip to conversation

SSH

DISCUSSION alexander.lopata 3 participants 3 messages Jul 13, 2008

lore
Share & tools
lore
#0 lore raw

It seems that sshd does not see authorized_keys file in my home folder.
What I've done is put my openSSH public key in %h/.ssh/authorized_keys and configure my ssh client to use corresponding private key. But SSH still ask password. What can be wrong ?

#1 lore raw

$HOME/.ssh/ should not be accessible by others
try 'chmod go-rwx $HOME/.ssh -R'

Quoted 8 lines · alexander.lopata

It seems that sshd does not see authorized_keys file in my home folder.
What I've done is put my openSSH public key in %h/.ssh/authorized_keys and configure my ssh client to use corresponding private key. But SSH still ask password. What can be wrong ?

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to alexander.lopata

Hi Alexander,

Check the permissions of authorized_keys file at server end and and % h/.ssh at client end. Depending on the OpenSSH version, check for the availability of authorized_keys2 file.

Thanks,

~Chamith

-
*** There's no place like ${HOME} ***

Quoted 9 lines · alexander.lopata

It seems that sshd does not see authorized_keys file in my home folder. What I've done is put my openSSH public key in %h/.ssh/authorized_keys and configure my ssh client to use corresponding private key. But SSH still ask password. What can be wrong ?

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html