Skip to main content
deleted 59 characters in body
Source Link
garethTheRed
  • 35k
  • 4
  • 101
  • 106

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).

enter image description here

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 ?

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).

enter image description here

Anybody can help me with this please ?

Thanks a lot in advance,

PS :
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 but still im having the same issue!

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).

enter image description here

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 ?

added 330 characters in body
Source Link

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).

enter image description here

Anybody can help me with this please ?

Thanks a lot in advance,

PS :
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 but still im having the same issue!

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).

enter image description here

Anybody can help me with this please ?

Thanks a lot in advance,

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).

enter image description here

Anybody can help me with this please ?

Thanks a lot in advance,

PS :
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 but still im having the same issue!

Source Link

Issue with copying the public Key

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).

enter image description here

Anybody can help me with this please ?

Thanks a lot in advance,