I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).
Anybody can help me with this please ?
Thanks a lot in advance,
PS :
PasswordPassword authentication is set to YES in my /etc/ssh/sshd_config/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
$ssh-keygen -t rsa $ chmod 700 ~/.ssh $ chmod 600 ~/.ssh/id_rsa $ cat id_rsa.pub >> ~/.ssh/authorized_keys $ chmod 600 ~/.ssh/authorized_keys $ chmod 600 ~/.ssh/authorized_keys but still im having the same issue!Anybody can help me with this please ?
