man-putt.but 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. \cfg{man-identity}{putty}{1}{2004-03-24}{PuTTY tool suite}{PuTTY tool suite}
  2. \H{putty-manpage} Man page for PuTTY
  3. \S{putty-manpage-name} NAME
  4. \cw{putty} - GUI SSH, Telnet and Rlogin client for X
  5. \S{putty-manpage-synopsis} SYNOPSIS
  6. \c putty [ options ] [ host ]
  7. \e bbbbb iiiiiii iiii
  8. \S{putty-manpage-description} DESCRIPTION
  9. \cw{putty} is a graphical SSH, Telnet and Rlogin client for X. It is
  10. a direct port of the Windows SSH client of the same name.
  11. \S{putty-manpage-options} OPTIONS
  12. The command-line options supported by \cw{putty} are:
  13. \dt \cw{\-\-display} \e{display\-name}
  14. \dd Specify the X display on which to open \cw{putty}. (Note this
  15. option has a double minus sign, even though none of the others do.
  16. This is because this option is supplied automatically by GTK.
  17. Sorry.)
  18. \dt \cw{\-fn} \e{font-name}
  19. \dd Specify the font to use for normal text displayed in the terminal.
  20. For example, \cw{\-fn\_fixed}, \cw{\-fn\_"Monospace\_12"}.
  21. \dt \cw{\-fb} \e{font-name}
  22. \dd Specify the font to use for bold text displayed in the terminal.
  23. If the \cw{BoldAsColour} resource is set to 1 (the default), bold
  24. text will be displayed in different colours instead of a different
  25. font, so this option will be ignored. If \cw{BoldAsColour} is set to
  26. 0 or 2 and you do not specify a bold font, \cw{putty} will overprint the
  27. normal font to make it look bolder.
  28. \dt \cw{\-fw} \e{font-name}
  29. \dd Specify the font to use for double-width characters (typically
  30. Chinese, Japanese and Korean text) displayed in the terminal.
  31. \dt \cw{\-fwb} \e{font-name}
  32. \dd Specify the font to use for bold double-width characters
  33. (typically Chinese, Japanese and Korean text). Like \cw{-fb}, this
  34. will be ignored unless the \cw{BoldAsColour} resource is set to 0 or 2.
  35. \dt \cw{\-geometry} \e{geometry}
  36. \dd Specify the size of the terminal, in rows and columns of text.
  37. See \e{X(7)} for more information on the syntax of geometry
  38. specifications.
  39. \dt \cw{\-sl} \e{lines}
  40. \dd Specify the number of lines of scrollback to save off the top of the
  41. terminal.
  42. \dt \cw{\-fg} \e{colour}
  43. \dd Specify the foreground colour to use for normal text.
  44. \dt \cw{\-bg} \e{colour}
  45. \dd Specify the background colour to use for normal text.
  46. \dt \cw{\-bfg} \e{colour}
  47. \dd Specify the foreground colour to use for bold text, if the
  48. \cw{BoldAsColour} resource is set to 1 (the default) or 2.
  49. \dt \cw{\-bbg} \e{colour}
  50. \dd Specify the foreground colour to use for bold reverse-video
  51. text, if the \cw{BoldAsColour} resource is set to 1 (the default) or 2.
  52. (This colour is best thought of as the bold version of the
  53. background colour; so it only appears when text is displayed \e{in}
  54. the background colour.)
  55. \dt \cw{\-cfg} \e{colour}
  56. \dd Specify the foreground colour to use for text covered by the cursor.
  57. \dt \cw{\-cbg} \e{colour}
  58. \dd Specify the background colour to use for text covered by the cursor.
  59. In other words, this is the main colour of the cursor.
  60. \dt \cw{\-title} \e{title}
  61. \dd Specify the initial title of the terminal window. (This can be
  62. changed under control of the server.)
  63. \dt \cw{\-sb\-} or \cw{+sb}
  64. \dd Tells \cw{putty} not to display a scroll bar.
  65. \dt \cw{\-sb}
  66. \dd Tells \cw{putty} to display a scroll bar: this is the opposite of
  67. \cw{\-sb\-}. This is the default option: you will probably only need
  68. to specify it explicitly if you have changed the default using the
  69. \cw{ScrollBar} resource.
  70. \dt \cw{\-log} \e{logfile}, \cw{\-sessionlog} \e{logfile}
  71. \dd This option makes \cw{putty} log all the terminal output to a file
  72. as well as displaying it in the terminal.
  73. \dt \cw{\-sshlog} \e{logfile}
  74. \dt \cw{\-sshrawlog} \e{logfile}
  75. \dd For SSH connections, these options make \cw{putty} log protocol
  76. details to a file. (Some of these may be sensitive, although by default
  77. an effort is made to suppress obvious passwords.)
  78. \lcont{
  79. \cw{\-sshlog} logs decoded SSH packets and other events (those that
  80. \cw{\-v} would print). \cw{\-sshrawlog} additionally logs the raw
  81. encrypted packet data.
  82. }
  83. \dt \cw{\-cs} \e{charset}
  84. \dd This option specifies the character set in which \cw{putty}
  85. should assume the session is operating. This character set will be
  86. used to interpret all the data received from the session, and all
  87. input you type or paste into \cw{putty} will be converted into
  88. this character set before being sent to the session.
  89. \lcont{ Any character set name which is valid in a MIME header (and
  90. supported by \cw{putty}) should be valid here (examples are
  91. \q{\cw{ISO-8859-1}}, \q{\cw{windows-1252}} or \q{\cw{UTF-8}}). Also,
  92. any character encoding which is valid in an X logical font
  93. description should be valid (\q{\cw{ibm-cp437}}, for example).
  94. \cw{putty}'s default behaviour is to use the same character
  95. encoding as its primary font. If you supply a Unicode
  96. (\cw{iso10646-1}) font, it will default to the UTF-8 character set.
  97. Character set names are case-insensitive.
  98. }
  99. \dt \cw{\-nethack}
  100. \dd Tells \cw{putty} to enable NetHack keypad mode, in which the
  101. numeric keypad generates the NetHack \c{hjklyubn} direction keys.
  102. This enables you to play NetHack with the numeric keypad without
  103. having to use the NetHack \c{number_pad} option (which requires you
  104. to press \q{\cw{n}} before any repeat count). So you can move with
  105. the numeric keypad, and enter repeat counts with the normal number
  106. keys.
  107. \dt \cw{\-help}, \cw{\-\-help}
  108. \dd Display a message summarizing the available options.
  109. \dt \cw{\-pgpfp}
  110. \dd Display the fingerprints of the PuTTY PGP Master Keys, to aid
  111. in verifying new files released by the PuTTY team.
  112. \dt \cw{\-load} \e{session}
  113. \dd Load a saved session by name. This allows you to run a saved session
  114. straight from the command line without having to go through the
  115. configuration box first.
  116. \dt \cw{\-ssh}, \cw{\-telnet}, \cw{\-rlogin}, \cw{\-raw}, \cw{\-serial}
  117. \dd Select the protocol \cw{putty} will use to make the connection.
  118. \dt \cw{\-l} \e{username}
  119. \dd Specify the username to use when logging in to the server.
  120. \dt \cw{\-L} \cw{[}\e{srcaddr}\cw{:]}\e{srcport}\cw{:}\e{desthost}\cw{:}\e{destport}
  121. \dd Set up a local port forwarding: listen on \e{srcport} (or
  122. \e{srcaddr}:\e{srcport} if specified), and forward any connections
  123. over the SSH connection to the destination address
  124. \e{desthost}:\e{destport}. Only works in SSH.
  125. \dt \cw{\-R} \cw{[}\e{srcaddr}\cw{:]}\e{srcport}\cw{:}\e{desthost}\cw{:}\e{destport}
  126. \dd Set up a remote port forwarding: ask the SSH server to listen on
  127. \e{srcport} (or \e{srcaddr}:\e{srcport} if specified), and to
  128. forward any connections back over the SSH connection where the
  129. client will pass them on to the destination address
  130. \e{desthost}:\e{destport}. Only works in SSH.
  131. \dt \cw{\-D} [\e{srcaddr}:]\e{srcport}
  132. \dd Set up dynamic port forwarding. The client listens on
  133. \e{srcport} (or \e{srcaddr}:\e{srcport} if specified), and
  134. implements a SOCKS server. So you can point SOCKS-aware applications
  135. at this port and they will automatically use the SSH connection to
  136. tunnel all their connections. Only works in SSH.
  137. \dt \cw{\-P} \e{port}
  138. \dd Specify the port to connect to the server on.
  139. \dt \cw{\-A}, \cw{\-a}
  140. \dd Enable (\cw{\-A}) or disable (\cw{\-a}) SSH agent forwarding.
  141. Currently this only works with OpenSSH and SSH-1.
  142. \dt \cw{\-X}, \cw{\-x}
  143. \dd Enable (\cw{\-X}) or disable (\cw{\-x}) X11 forwarding.
  144. \dt \cw{\-T}, \cw{\-t}
  145. \dd Enable (\cw{\-t}) or disable (\cw{\-T}) the allocation of a
  146. pseudo-terminal at the server end.
  147. \dt \cw{\-C}
  148. \dd Enable zlib-style compression on the connection.
  149. \dt \cw{\-1}, \cw{\-2}
  150. \dd Select SSH protocol version 1 or 2.
  151. \dt \cw{\-i} \e{keyfile}
  152. \dd Private key file for user authentication. For SSH-2 keys, this key
  153. file must be in PuTTY's PPK format, not OpenSSH's format or anyone
  154. else's.
  155. \lcont{ If you are using an authentication agent, you can also specify
  156. a \e{public} key here (in RFC 4716 or OpenSSH format), to identify
  157. which of the agent's keys to use. }
  158. \dt \cw{\-hostkey} \e{key}
  159. \dd Specify an acceptable host public key. This option may be specified
  160. multiple times; each key can be either a fingerprint (\cw{99:aa:bb:...}) or
  161. a base64-encoded blob in OpenSSH's one-line format.
  162. \lcont{ Specifying this option overrides automated host key
  163. management; \e{only} the key(s) specified on the command-line will be
  164. accepted (unless a saved session also overrides host keys, in which
  165. case those will be added to), and the host key cache will not be
  166. written. }
  167. \dt \cw{\-sercfg} \e{configuration-string}
  168. \dd Specify the configuration parameters for the serial port, in
  169. \cw{-serial} mode. \e{configuration-string} should be a
  170. comma-separated list of configuration parameters as follows:
  171. \lcont{
  172. \b Any single digit from 5 to 9 sets the number of data bits.
  173. \b \cq{1}, \cq{1.5} or \cq{2} sets the number of stop bits.
  174. \b Any other numeric string is interpreted as a baud rate.
  175. \b A single lower-case letter specifies the parity: \cq{n} for none,
  176. \cq{o} for odd, \cq{e} for even, \cq{m} for mark and \cq{s} for space.
  177. \b A single upper-case letter specifies the flow control: \cq{N} for
  178. none, \cq{X} for XON/XOFF, \cq{R} for RTS/CTS and \cq{D} for
  179. DSR/DTR.
  180. }
  181. \S{putty-manpage-saved-sessions} SAVED SESSIONS
  182. Saved sessions are stored in a \cw{.putty/sessions} subdirectory in
  183. your home directory.
  184. \S{putty-manpage-more-information} MORE INFORMATION
  185. For more information on PuTTY, it's probably best to go and look at
  186. the manual on the web page:
  187. \W{http://www.chiark.greenend.org.uk/~sgtatham/putty/}\cw{http://www.chiark.greenend.org.uk/~sgtatham/putty/}
  188. \S{putty-manpage-bugs} BUGS
  189. This man page isn't terribly complete.