Skip to content

Putty

Enable Keepalives

putty ➔ connection ➔ enable tcp keepalives

putty ➔ connection ➔ seconds between keepalives ➔ 5

Export Settings

regedit /e "%userprofile%\Desktop\putty.reg" HKEY_CURRENT_USER\Software\SimonTatham

Launch Putty with Specific Profile

putty.exe -load "{SESSION}"  # Use from CLI or add to Windows shortcut.

Changing Escape Characters

Sometimes the terminal escape sequences that are sent are changed if you are running through multiple screen sessions.

stty -a  # Determine the current escape sequences.

# Determine the actual control sequence sent.
ctrl + v,  # {DESIRED KEY PRESS}. Prints sequence to terminal.

# Set the correct escape sequence.
stty erase ^H

Forwarding X Windows

Use VcXsrv instead of xming. This is fully functional and does not have copy/paste or resizing disabled. Install as normal.

c:\Program Files\VcXsrv\config.xlaunch

<?xml version="1.0" encoding="UTF-8"?>
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="False" XDMCPTerminate="False"/>

Set xlaunch shortcut to use config.

"c:\Program Files\VcXsrv\xlaunch.exe" -run config.xlaunch