SSH

SSH

am 13.07.2008 02:14:59 von 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: SSH

am 13.07.2008 08:55:08 von helmut djurkin

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

alexander.lopata schrieb:
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: SSH

am 13.07.2008 09:02:43 von Chamith Kumarage

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} ***


On Sun, 2008-07-13 at 03:14 +0300, alexander.lopata wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

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