Skip to content
Austin Kong edited this page Jul 26, 2016 · 1 revision

PuTTY

Configurations for better user experience

Xming for X11

Alternate PuTTY colours

Source

Session
  Connection type: SSH
  Close window on exit: Never

Terminal > Bell
  Action to happen when a bell occurs: Visual bell (flash window)
  Taskbar/caption indication: Flashing

Terminal > Features
  Disable application cursor keys mode

Window
  Lines of scrollback: 20000
  Reset scrollback on keypress: Checked
  Reset scrollback on display activity: Unchecked

Window > Appearance
  Font: Lucida Console, 9-point
  Font quality: ClearType
  Gap between text and window edge: 3

Window > Translation
  Character set: UTF-8
  Handling of line drawing characters: Unicode

Window > Selection
  Action of mouse buttons: xterm (Right extends, Middle pastes)
  Paste to clipboard in RTF as well as plain text: enabled

Window > Colours
  ANSI Blue: Red:74 Green:74 Blue:255
  ANSI Blue Bold: Red:140: Green:140 Blue:255
  Default Foreground: 85 85 85
  Default Bold Foreground: 0 0 0
  Default Background: 242 242 242
  Default Bold Background: 255 255 255
  Cursor Text: 85 85 85

Connection
  Seconds between keepalives (0 to turn off): 25

Connection > SSH > X11
  Enable X11 forwarding: enabled

Window > Appearance
  Font: Fixedsys is more readable than Lucida

Passwordless SSH setup

Source

  1. Generate key on local machine with PuTTYgen
  2. ssh dsa 1024?
  3. Set password (recommended, but not passwordless)
  4. Save private key *.ppk
  5. Copy public key to remote and append ~/.ssh/authorized_keys
  6. chmod 700 ~/.ssh ; chmod 600 ~/.ssh//authorized_keys
  7. PuTTY > Connection > SSH > Auth > Browse for private key file

Vim compatibility for arrow keys

Source

Terminal > Features > Disable application cursor keys mode