SSH cheat sheet

A very usefull SSH cheat sheet.

Michael KAMM
Michael KAMM   Follow

# SSH cheat sheet

A highly opinionated SSH cheat sheet:

  • generate SSH key: ssh-keygen -t rsa -C <email>
  • add SSH key to ssh-agent: eval "$(ssh-agent -s)"; ssh-add ~/.ssh/id_rsa
  • copy SSH key: xclip -sel clip < ~/.ssh/id_rsa.pub

Source: Github Help: generating SSH keys.