My Notebook
by kerner1000
user@[client|server]:~$ ssh-keygen -t rsa -b 4096 -C "user@host"
user@server:~$ mkdir -p /home/user/.ssh/
If file does not exist:
user@server:~$ touch /home/user/.ssh/authorized_keys
user@server:~$ cat [key-name]_rsa.pub >> /home/user/.ssh/authorized_keys
user@client:~$ ssh-copy-id -i [key-name]_rsa.pub user@server
[key-name]_rsa
to the user client (if operating on the server).user@client:~$ ssh-add [key-name]_rsa
user@client:~$ ssh user@server