↑↓ move Enter open Esc close

Cheat sheet · 9 commands

Remote & transfer

ssh gets you a shell on another machine, and the same connection carries file copies, single commands and tunnels. Set up a key once and every command on this sheet becomes password-free.

The 3 you will use every day

Open a remote shell

Install your key: no more passwords

Sync a tree, only what changed travels

The full sheet

  • Open a remote shellguide ›
  • Custom portguide ›
  • Run one command remotely and returnguide ›
  • Create a key pair (once per machine)guide ›
  • Install your key: no more passwordsguide ›
  • Tunnel a remote port to your machineguide ›
  • Copy one file over SSHguide ›
  • Sync a tree, only what changed travelsguide ›
  • Dry run of a mirror (always do this first)guide ›
Practise these for real in the interactive course, or keep every sheet, chapter and fix in one book: The Linux Command Line Handbook.