PuTTY Linux Session
- Windows -> Behavior -> Window Title
<username>@<hostname>
- Connection -> Data -> Auto-login username
<username>
- Connection -> Data -> Terminal type string
putty-256color
(tmux can’t do 256 colors without this)
- Connection -> SSH -> Remote Command
tmux attach-session -t <name> || tmux new-session -s <name>
## Generate SSH Keypair in PuTTY
- Generate a 2048-bit RSA keypair using PuTTYGen
- Copy contents of “Public key for pasting into OpenSSH authorized_keys file” to remote host’s authorized_keys file
- Save the private key as %HOMEPATH%.ssh_rsa.ppk
- Do not use a passphrase to make Pageant loading easier
- Do not need to save the public key because it can be regenerated from the private key