📄 man-putt.but
字号:
\cfg{man-identity}{putty}{1}{2004-03-24}{PuTTY tool suite}{PuTTY tool suite}\H{putty-manpage} Man page for PuTTY\S{putty-manpage-name} NAME\cw{putty} - GUI SSH, Telnet and Rlogin client for X\S{putty-manpage-synopsis} SYNOPSIS\c putty [ options ] [ host ]\e bbbbb iiiiiii iiii\S{putty-manpage-description} DESCRIPTION\cw{putty} is a graphical SSH, Telnet and Rlogin client for X. It isa direct port of the Windows SSH client of the same name.\S{putty-manpage-options} OPTIONSThe command-line options supported by \cw{putty} are:\dt \cw{\-\-display} \e{display\-name}\dd Specify the X display on which to open \cw{putty}. (Note thisoption has a double minus sign, even though none of the others do.This is because this option is supplied automatically by GTK.Sorry.)\dt \cw{\-fn} \e{font-name}\dd Specify the font to use for normal text displayed in the terminal.\dt \cw{\-fb} \e{font-name}\dd Specify the font to use for bold text displayed in the terminal.If the \cw{BoldAsColour} resource is set to 1 (the default), boldtext will be displayed in different colours instead of a differentfont, so this option will be ignored. If \cw{BoldAsColour} is set to0 and you do not specify a bold font, \cw{putty} will overprint thenormal font to make it look bolder.\dt \cw{\-fw} \e{font-name}\dd Specify the font to use for double-width characters (typicallyChinese, Japanese and Korean text) displayed in the terminal.\dt \cw{\-fwb} \e{font-name}\dd Specify the font to use for bold double-width characters(typically Chinese, Japanese and Korean text). Like \cw{-fb}, thiswill be ignored unless the \cw{BoldAsColour} resource is set to 0.\dt \cw{\-geometry} \e{geometry}\dd Specify the size of the terminal, in rows and columns of text.See \e{X(7)} for more information on the syntax of geometryspecifications.\dt \cw{\-sl} \e{lines}\dd Specify the number of lines of scrollback to save off the top of theterminal.\dt \cw{\-fg} \e{colour}\dd Specify the foreground colour to use for normal text.\dt \cw{\-bg} \e{colour}\dd Specify the background colour to use for normal text.\dt \cw{\-bfg} \e{colour}\dd Specify the foreground colour to use for bold text, if the\cw{BoldAsColour} resource is set to 1 (the default).\dt \cw{\-bbg} \e{colour}\dd Specify the foreground colour to use for bold reverse-videotext, if the \cw{BoldAsColour} resource is set to 1 (the default).(This colour is best thought of as the bold version of thebackground colour; so it only appears when text is displayed \e{in}the background colour.)\dt \cw{\-cfg} \e{colour}\dd Specify the foreground colour to use for text covered by the cursor.\dt \cw{\-cbg} \e{colour}\dd Specify the background colour to use for text covered by the cursor.In other words, this is the main colour of the cursor.\dt \cw{\-title} \e{title}\dd Specify the initial title of the terminal window. (This can bechanged under control of the server.)\dt \cw{\-sb\-} or \cw{+sb}\dd Tells \cw{putty} not to display a scroll bar.\dt \cw{\-sb}\dd Tells \cw{putty} to display a scroll bar: this is the opposite of\cw{\-sb\-}. This is the default option: you will probably only needto specify it explicitly if you have changed the default using the\cw{ScrollBar} resource.\dt \cw{\-log} \e{filename}\dd This option makes \cw{putty} log all the terminal output to a fileas well as displaying it in the terminal.\dt \cw{\-cs} \e{charset}\dd This option specifies the character set in which \cw{putty}should assume the session is operating. This character set will beused to interpret all the data received from the session, and allinput you type or paste into \cw{putty} will be converted intothis character set before being sent to the session.\lcont{ Any character set name which is valid in a MIME header (andsupported by \cw{putty}) should be valid here (examples are\q{\cw{ISO-8859-1}}, \q{\cw{windows-1252}} or \q{\cw{UTF-8}}). Also,any character encoding which is valid in an X logical fontdescription should be valid (\q{\cw{ibm-cp437}}, for example).\cw{putty}'s default behaviour is to use the same characterencoding as its primary font. If you supply a Unicode(\cw{iso10646-1}) font, it will default to the UTF-8 character set.Character set names are case-insensitive.}\dt \cw{\-nethack}\dd Tells \cw{putty} to enable NetHack keypad mode, in which thenumeric keypad generates the NetHack \c{hjklyubn} direction keys.This enables you to play NetHack with the numeric keypad withouthaving to use the NetHack \c{number_pad} option (which requires youto press \q{\cw{n}} before any repeat count). So you can move withthe numeric keypad, and enter repeat counts with the normal numberkeys.\dt \cw{\-help}, \cw{\-\-help}\dd Display a message summarizing the available options.\dt \cw{\-load} \e{session}\dd Load a saved session by name. This allows you to run a saved sessionstraight from the command line without having to go through theconfiguration box first.\dt \cw{\-ssh}, \cw{\-telnet}, \cw{\-rlogin}, \cw{\-raw}\dd Select the protocol \cw{putty} will use to make the connection.\dt \cw{\-l} \e{username}\dd Specify the username to use when logging in to the server.\dt \cw{\-L} \cw{[}\e{srcaddr}\cw{:]}\e{srcport}\cw{:}\e{desthost}\cw{:}\e{destport}\dd Set up a local port forwarding: listen on \e{srcport} (or\e{srcaddr}:\e{srcport} if specified), and forward any connectionsover the SSH connection to the destination address\e{desthost}:\e{destport}. Only works in SSH.\dt \cw{\-R} \cw{[}\e{srcaddr}\cw{:]}\e{srcport}\cw{:}\e{desthost}\cw{:}\e{destport}\dd Set up a remote port forwarding: ask the SSH server to listen on\e{srcport} (or \e{srcaddr}:\e{srcport} if specified), and toforward any connections back over the SSH connection where theclient will pass them on to the destination address\e{desthost}:\e{destport}. Only works in SSH.\dt \cw{\-D} [\e{srcaddr}:]\e{srcport}\dd Set up dynamic port forwarding. The client listens on\e{srcport} (or \e{srcaddr}:\e{srcport} if specified), andimplements a SOCKS server. So you can point SOCKS-aware applicationsat this port and they will automatically use the SSH connection totunnel all their connections. Only works in SSH.\dt \cw{\-P} \e{port}\dd Specify the port to connect to the server on.\dt \cw{\-A}, \cw{\-a}\dd Enable (\cw{\-A}) or disable (\cw{\-a}) SSH agent forwarding.Currently this only works with OpenSSH and SSH1.\dt \cw{\-X}, \cw{\-x}\dd Enable (\cw{\-X}) or disable (\cw{\-x}) X11 forwarding.\dt \cw{\-T}, \cw{\-t}\dd Enable (\cw{\-t}) or disable (\cw{\-T}) the allocation of apseudo-terminal at the server end.\dt \cw{\-C}\dd Enable zlib-style compression on the connection.\dt \cw{\-1}, \cw{\-2}\dd Select SSH protocol v1 or v2.\dt \cw{\-i} \e{keyfile}\dd Specify a private key file to use for authentication. For SSH2keys, this key file must be in PuTTY's format, not OpenSSH's oranyone else's.\S{putty-manpage-saved-sessions} SAVED SESSIONSSaved sessions are stored in a \cw{.putty/sessions} subdirectory inyour home directory.\S{putty-manpage-more-information} MORE INFORMATIONFor more information on PuTTY, it's probably best to go and look atthe manual on the web page:\W{http://www.chiark.greenend.org.uk/~sgtatham/putty/}\cw{http://www.chiark.greenend.org.uk/~sgtatham/putty/}\S{putty-manpage-bugs} BUGSThis man page isn't terribly complete.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -