My Notebook
by kerner1000
user@client:~$ ssh-keygen -t rsa -b 4096 -C "user@client"
user@client:~$ ssh-copy-id -i path/to/auth/file/user_rsa.pub user@server
user@server:~$ sudo nano /etc/ssh/sshd_config
add/ change the following:
RSAAuthentication yes
PubkeyAuthentication yes
ChallengeResponseAuthentication no
PasswordAuthentication no
PermitRootLogin no
user@server:~$ sudo service ssh restart