1
2
3
4
5
6
7
8
9
10
11 | sudo apt-get install openssh-server ssh-keygen -t rsa ssh-copy-id myusername@localhost chmod 600 .ssh/authorized_keys/ sudo nano /etc/ssh/sshd_config (uncomment "PasswordAuthentication yes" and set it to "no") sudo service ssh restart ssh myusername@localhost (output: "Permission denied (publickey)") |