Tools
SSH
Connect securely, manage keys and forward ports on systems you control.
Updated Official documentation ↗
Connect
ssh user@hostOpen a remote sessionssh -p 2222 user@hostChoose the server portssh -i ~/.ssh/id_ed25519 user@hostChoose a private keyssh user@host 'uptime'Run a command on the remote hostKeys
ssh-keygen -t ed25519 -C 'workstation'Create a key pair; protect the private key with a passphrasessh-add ~/.ssh/id_ed25519Add a key to an existing agentssh-add -lList keys held by the agentssh-keygen -lf ~/.ssh/id_ed25519.pubShow the public key fingerprintPort forwarding
ssh -N -L 8080:localhost:3000 user@hostExpose a remote localhost service on your port 8080ssh -N -L 5433:db.internal:5432 user@hostReach a database through an authorized SSH hostssh -v user@hostDiagnose connection and authentication stepsssh -o ConnectTimeout=10 user@hostLimit connection establishment time