Difference between revisions of "PuTTY"

From ArchWiki
Jump to: navigation, search
(See also sections are not required; use Related box with internal links; remove red link)
m (256 color support: use correct TERM value, using xterm breaks iftop and possibly others)
Line 20: Line 20:
 
== 256 color support ==
 
== 256 color support ==
  
''Settings > Connection > Data : Terminal-type string = xterm-256color''
+
''Settings > Connection > Data : Terminal-type string = putty-256color''
  
 
To test color support, execute the following command: [http://www.commandlinefu.com/commands/view/5879/show-numerical-values-for-each-of-the-256-colors-in-bash reference]
 
To test color support, execute the following command: [http://www.commandlinefu.com/commands/view/5879/show-numerical-values-for-each-of-the-256-colors-in-bash reference]

Revision as of 13:05, 10 May 2016

Merge-arrows-2.pngThis article or section is a candidate for merging with List of applications.Merge-arrows-2.png

Notes: please use the second argument of the template to provide more detailed indications. (Discuss in Talk:PuTTY#)

PuTTY is a port of the popular GUI SSH, Telnet, Rlogin and serial port connection client for Windows. It has support for advanced logging and termcap options, as well as a very configurable appearance and the ability to forward ports or create a SOCKS tunnel through an SSH destination. To start, simply run PuTTY, type the hostname of the host you would like to connect to and hit Open.

Installation

Install putty. For a menu item and icon, install putty-freedesktopAUR from the AUR.

Configuration

The settings can be modified through the tabs on the left, however they will be reset if not saved. To save your settings type a name into the box under Saved Sessions and click save. To load it again later, click the name of your save and click load. This allows you to persist your visual, termcap and connection settings between connections and also lets you keep one save per regularly used host. The save "Default Settings" is automatically loaded every time you start PuTTY, so save under that name with care.

256 color support

Settings > Connection > Data : Terminal-type string = putty-256color

To test color support, execute the following command: reference

for code in {0..255}; do echo -e "\e[38;05;${code}m $code: Test"; done

See 256colours for details.