How To SSH SSH Public Key Authentication ssh-keygen -t rsa -b 4096 ssh-copy-id -i ~/.ssh/id_rsa.pub user@server