SSH Cheatsheet

  • #unix

Create

ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa

Read

cat ~/.ssh/id_rsa.pub

Login

ssh-copy-id -i ~/.ssh/id_rsa [email protected]
ssh -i ~/.ssh/id_rsa [email protected]