SSH
Quick SSH agent patterns. Platform-specific pages:
For reaching machines rather than authenticating to them, see Remote access — Tailscale, Dev Tunnels, T3 Code.
Minimal flow
bash
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
ssh -T [email protected]Config sketch
~/.ssh/config:
ssh-config
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes