Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 407 Bytes

ssh-cheatsheet.md

File metadata and controls

9 lines (6 loc) · 407 Bytes

𝐒𝐒𝐇 𝐂𝐡𝐞𝐚𝐭𝐬𝐡𝐞𝐞𝐭:

  • Install ssh : sudo apt-get install ssh
  • Enable and start ssh: sudo systemctl enable ssh & sudo ssh start
  • Connect to a host: ssh <username>@<host address>
  • Connect to a host with non-default port: ssh <username>@<host address> -p <port>
  • Connect to a host using private key: ssh -i <keyfile> <username>@<host address>