[arch-general] SSH Keys

Ramiro Blanco ramiblanco at gmail.com
Sat Jun 14 00:17:44 EDT 2008


2008/6/12 David Rosenstrauch <darose at darose.net>:

> Vitor Garcia wrote:
>
>> Hello, All.
>>
>> I'm trying to configure my ssh keys on a remote machine but something
>> is going wrong. I've made exactly as it was explained on the Arch wiki
>> (http://wiki.archlinux.org/index.php/Using_SSH_Keys), but the remote
>> machine keeps requesting me the password when I log in (I've used no
>> passphrase so it is not supposed that I'd be prompted for the password
>> everytime).
>>
>> Does anyone have an idea of what I may have made wrong?
>>
>>
>> Cheers,
>>
>
> * Make sure you chmod'ed the keys to the right permissions.  SSH has a
> security feature where it will ignore keys that are publicly visible.
>
> * Make sure the ssh daemon on the remote machine is configured with
> "PubkeyAuthentication yes" and "AuthorizedKeysFile .ssh/authorized_keys" in
> the sshd_config
>
> If those don't fix it, then crank up the logging level of the SSH daemon on
> the remote machine to see why it's rejecting the key login.
>
> HTH,
>
> DR
>
>
You should also check permissions on 'authorized_keys' file, chmod it to
something like 600 or 644 (no write permissions for other than the owner).


Cheers,

-- 
Ramiro Blanco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://archlinux.org/pipermail/arch-general/attachments/20080614/ef4ed5ba/attachment.htm>


More information about the arch-general mailing list