Permission denied (publickey).
If you ever run into that kind of problem try to check your remote logs, everything became clear when I did that:
tail -f /var/log/secure
(...)
Authentication refused: bad ownership or modes for directory /home/----/.ssh
So, I simply changed .ssh directory permissions to 0700 and it start to work. Great!
Brak komentarzy:
Prześlij komentarz