I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).
Password authentication is set to YES in my
/etc/ssh/sshd_config file, I have started again from scratch with these commands :
$ssh-keygen -t rsa $ chmod 700 ~/.ssh $ chmod 600 ~/.ssh/id_rsa $ cat id_rsa.pub >> ~/.ssh/authorized_keys $ chmod 600 ~/.ssh/authorized_keys
Anybody can help me with this please ?