The tmux prefix is `
prefix + j/k/h/l
- move panesprefix + t/z
- zoom current paneprefix + x
- close current paneprefix + c
- open new windowprefix + &
- close current windowprefix + ,
- rename current windowprefix + n/Tab
- next windowprefix + p/S-Tab
- previous windowprefix + -/H
- split window horizontallyprefix + _/V
- split window verticallyprefix + Esc
- enter copy modeprefix + Enter
- copy selectionprefix + q
- kill current session
To fix agent forwarding, use fixssh
If SSH isn't working on macOS (no identities), use ssh-add --apple-use-keychain
- GPG Quickstart
- GnuPG forwarding setup
- Offline master key
- Mac-specific forwarding setup
- YubiKey commit signing
- YubiKey big guide
gpg --export -a 07F64768955B38A4A934E3D9C5389003AC500A4A | ssh $HOSTNAME 'gpg --import -'
export public keys to remotegpgconf --kill gpg-agent
when remote isn't workinggpg-connect-agent reloadagent /bye
when local agent isn't workinggpg --list-secret-keys --keyid-format=long
long IDsgpgconf --list-dir agent-socket
populate SSH config- If
gpg -k
hangs locally, try removing lockfiles at~/.gnupg/*.lock
and~/.gnupg/public-keys.d/*.lock
- On the remote, make sure
SSH_AUTH_SOCK
isn't set (unset SSH_AUTH_SOCK
)
Remember to add StreamLocalBindUnlink yes
to /etc/ssh/sshd_config
You can append !
to get a specific GPG key