Provide Best Programming Tutorials

ssh-copy-id

Log in as root
Edit ssh config: 
sudo nano /etc/ssh/sshd_config
Change this line:
PasswordAuthentication no
to
PasswordAuthentication yes
Restart daemon: 
sudo systemctl restart sshd

Do ssh-copy-id:
ssh-copy-id someuser@<my-ip>

 

 

 

Leave a Reply

Close Menu