Primeiro, entre no seu PC linux e gere um par de chaves públicas usando o seguinte comando.
$ ssh-keygen -t rsa
Quando pedir uma senha, basta pressionar enter.
crie uma pasta .ssh no usuário do servidor e nela, carregue a nova chave pública gerada (id_rsa.pub) no seu PC, sob o diretório .ssh do usuário, como um nome de arquivo authorized_keys.
Defina as permissões:
$ ssh [email protected] "chmod 700 .ssh; chmod 640 .ssh/authorized_keys"
E é isso!
Login seguro sem senha.