Re: problem with ssh
Andrew Schulman wrote:
>> i'm trying to connect to my host via ssh fron another computer but
>>i've got always this error, it refuses to give me the right to enter the
>>$ ssh user@machine
>># Permission denied (publickey).
>>What do i have to modify in my hosts sshd.config to have this working?
> Maybe nothing in sshd_config. Often this error comes from having too
> loose permissions on your private key; you need to chmod go-rwx your
> private keys, or sshd won't use them.
> More generally, run ssh -v or ssh -vv to get some debug messages that
> will almost certainly show you what the trouble is.
Or, even better, check the server logs.