putty(1)
π putty β like, the whole vibe β¨
okay so real talk: this is putty(1), part of the PuTTY tool suite, and bestie you're gonna wanna sit down for this one π«Ά
πΈ NAME πΈ
putty β a GUI SSH, Telnet, Rlogin, and SUPDUP client for X β¨
like, it's a graphical terminal client. for X. it does SSH, it does Telnet, it does Rlogin, it does SUPDUP. all four. she contains multitudes π
π SYNOPSIS π
putty [ options ] [ host ]
so you run putty, optionally throw some options at her, and optionally yeet a host at the end. that's the whole shape of it. iconic honestly π
π¦ DESCRIPTION π¦
okay so putty is a graphical SSH, Telnet, Rlogin, and SUPDUP client for X π₯οΈβ¨ like, it's the actual X version, windows and buttons and everything, not one of those little terminal-only gremlins.
and here's the lore, right: it's a direct port of the Windows SSH client of the same name πͺβ‘οΈπ§ no cap. same name, same energy, just ported straight over to X. she's a transplant and she's thriving π±π
more coming, bestie β don't go anywhere π§ββοΈ
β¨ OPTIONS β¨
okay so these are the command-line options putty supports, bestie β buckle up, there are a lot of them, and every single one is here π
--displaydisplay-name β Specify the X display on which to openputty. (Note this option has a double minus sign, even though none of the others do. This is because this option is supplied automatically by GTK. Sorry.)-fnfont-name β Specify the font to use for normal text displayed in the terminal. For example,-fn fixed,-fn "Monospace 12".-fbfont-name β Specify the font to use for bold text displayed in the terminal. If theBoldAsColourresource is set to1(the default), bold text will be displayed in different colours instead of a different font, so this option will be ignored. IfBoldAsColouris set to0or2and you do not specify a bold font,puttywill overprint the normal font to make it look bolder.-fwfont-name β Specify the font to use for double-width characters (typically Chinese, Japanese and Korean text) displayed in the terminal.-fwbfont-name β Specify the font to use for bold double-width characters (typically Chinese, Japanese and Korean text). Like-fb, this will be ignored unless theBoldAsColourresource is set to0or2.-geometrygeometry β Specify the size of the terminal, in rows and columns of text. SeeX(7)for more information on the syntax of geometry specifications.-sllines β Specify the number of lines of scrollback to save off the top of the terminal.-fgcolour β Specify the foreground colour to use for normal text.-bgcolour β Specify the background colour to use for normal text.-bfgcolour β Specify the foreground colour to use for bold text, if theBoldAsColourresource is set to1(the default) or2.-bbgcolour β Specify the foreground colour to use for bold reverse-video text, if theBoldAsColourresource is set to1(the default) or2. (This colour is best thought of as the bold version of the background colour; so it only appears when text is displayed in the background colour.)-cfgcolour β Specify the foreground colour to use for text covered by the cursor.-cbgcolour β Specify the background colour to use for text covered by the cursor. In other words, this is the main colour of the cursor.-titletitle β Specify the initial title of the terminal window. (This can be changed under control of the server.)-sb-or+sbβ Tellsputtynot to display a scroll bar.-sbβ Tellsputtyto display a scroll bar: this is the opposite of-sb-. This is the default option: you will probably only need to specify it explicitly if you have changed the default using theScrollBarresource.-loglogfile,-sessionloglogfile β This option makesputtylog all the terminal output to a file as well as displaying it in the terminal.-sshloglogfile β For SSH connections, this option makesputtylog protocol details to a file. It logs decoded SSH packets and other events (those that-vwould print). Some of these may be sensitive, although by default an effort is made to suppress obvious passwords.-sshrawloglogfile β For SSH connections, this option makesputtylog protocol details to a file, and additionally logs the raw encrypted packet data. Some of these may be sensitive, although by default an effort is made to suppress obvious passwords.-logoverwriteβ Ifputtyis configured to write to a log file that already exists, discard the existing file.-logappendβ Ifputtyis configured to write to a log file that already exists, append new log data to the existing file.-cscharset β This option specifies the character set in whichputtyshould assume the session is operating. This character set will be used to interpret all the data received from the session, and all input you type or paste intoputtywill be converted into this character set before being sent to the session.
Any character set name which is valid in a MIME header (and supported by putty) should be valid here (examples are ISO-8859-1, windows-1252 or UTF-8). Also, any character encoding which is valid in an X logical font description should be valid (ibm-cp437, for example).
putty's default behaviour is to use the same character encoding as its primary font. If you supply a Unicode (iso10646-1) font, it will default to the UTF-8 character set.
Character set names are case-insensitive.
-nethackβ Tellsputtyto enable NetHack keypad mode, in which the numeric keypad generates the NetHackhjklyubndirection keys. This enables you to play NetHack with the numeric keypad without having to use the NetHacknumber_padoption (which requires you to pressnbefore any repeat count). So you can move with the numeric keypad, and enter repeat counts with the normal number keys.-help,--helpβ Display a message summarizing the available options.-pgpfpβ Display the fingerprints of the PuTTY PGP Master Keys, to aid in verifying new files released by the PuTTY team.-loadsession β Load a saved session by name. This allows you to run a saved session straight from the command line without having to go through the configuration box first.-ssh,-telnet,-rlogin,-supdup,-raw,-ssh-connection,-serialβ Select the protocolputtywill use to make the connection.-proxycmdcommand β Instead of making a TCP connection, usecommandas a proxy; network traffic will be redirected to the standard input and output ofcommand.commandmust be a single word, so is likely to need quoting by the shell.
The special strings %host and %port in command will be replaced by the hostname and port number you want to connect to; to get a literal % sign, enter %%.
Backslash escapes are also supported, such as sequences like \n being replaced by a literal newline; to get a literal backslash, enter \\. (Further escaping may be required by the shell.)
(See the main PuTTY manual for full details of the supported %- and backslash-delimited tokens, although most of them are probably not very useful in this context.)
-preconnectcommandcommand β Specify an external command to run just before making the main network connection. The syntax ofcommandis similar to that for-proxycmd.-lusername β Specify the username to use when logging in to the server.-L [srcaddr:]srcport:desthost:destportβ Set up a local port forwarding: listen onsrcport(orsrcaddr:srcportif specified), and forward any connections over the SSH connection to the destination addressdesthost:destport. Only works in SSH.-R [srcaddr:]srcport:desthost:destportβ Set up a remote port forwarding: ask the SSH server to listen onsrcport(orsrcaddr:srcportif specified), and to forward any connections back over the SSH connection where the client will pass them on to the destination addressdesthost:destport. Only works in SSH.-D [srcaddr:]srcportβ Set up dynamic port forwarding. The client listens onsrcport(orsrcaddr:srcportif specified), and implements a SOCKS server. So you can point SOCKS-aware applications at this port and they will automatically use the SSH connection to tunnel all their connections. Only works in SSH.-Pport β Specify the port to connect to the server on.-A,-aβ Enable (-A) or disable (-a) SSH agent forwarding. Currently this only works with OpenSSH and SSH-1.-X,-xβ Enable (-X) or disable (-x) X11 forwarding.-T,-tβ Enable (-t) or disable (-T) the allocation of a pseudo-terminal at the server end.-Cβ Enable zlib-style compression on the connection.-1,-2β Select SSH protocol version 1 or 2.-4,-6β Force use of IPv4 or IPv6 for network connections.-ikeyfile β Private key file for user authentication. For SSH-2 keys, this key file must be in PuTTY's PPK format, not OpenSSH's format or anyone else's.
If you are using an authentication agent, you can also specify a public key here (in RFC 4716 or OpenSSH format), to identify which of the agent's keys to use.
-noagentβ Don't try to use an authentication agent for local authentication. (This doesn't affect agent forwarding.)-agentβ Allow use of an authentication agent. (This option is only necessary to override a setting in a saved session.)-no-trivial-authβ Disconnect from any SSH server which accepts authentication without ever having asked for any kind of password or signature or token. (You might want to enable this for a server you always expect to challenge you, for instance to ensure you don't accidentally type your key file's passphrase into a compromised server spoofing PuTTY's passphrase prompt.)-hostkeykey β Specify an acceptable host public key. This option may be specified multiple times; each key can be either a fingerprint (SHA256:AbCdE...,99:aa:bb:..., etc) or a base64-encoded blob in OpenSSH's one-line format.
Specifying this option overrides automated host key management; only the key(s) specified on the command-line will be accepted (unless a saved session also overrides host keys, in which case those will be added to), and the host key cache will not be written.
-sercfgconfiguration-string β Specify the configuration parameters for the serial port, in-serialmode.configuration-stringshould be a comma-separated list of configuration parameters as follows:- Any single digit from
5to9sets the number of data bits. 1,1.5or2sets the number of stop bits.- Any other numeric string is interpreted as a baud rate.
- A single lower-case letter specifies the parity:
nfor none,ofor odd,efor even,mfor mark andsfor space. - A single upper-case letter specifies the flow control:
Nfor none,Xfor XON/XOFF,Rfor RTS/CTS andDfor DSR/DTR.
- Any single digit from
πΈ SAVED SESSIONS πΈ
Saved sessions are stored in a .putty/sessions subdirectory in your home directory. that's the whole vibe β your saved sessions live there, periodt π«Ά
β¨ MORE INFORMATION β¨
okay so if you want the actual deep lore on PuTTY β like, more than this little page gives you β bestie, the move is genuinely just to go read the manual on the web page:
https://www.chiark.greenend.org.uk/~sgtatham/putty/
that's it, that's the whole tip π the real manual is out there living its main character life, and it's got so much more than we've got room for here π¦
π BUGS π
ngl, this man page isn't terribly complete π like, it's giving "outline that never got its glow-up."
no cap β that's the actual documented bug here. the page is just missing stuff. don't come for me, I'm literally just the messenger π
and that's a wrap, bestie!! πβ¨
this iconic lil' page is from the PuTTY tool suite, dated 2004β03β24, and it lives at putty(1) β go forth and ssh responsibly, you absolute legend ππ
π«Ά
π¦ where this page comes from
- alpine 3.24: putty-doc 0.84-r1 Β· MIT
- nixos 26.05: putty 0.84
- nixpkgs unstable: putty 0.85
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- opensuse-leap 16.0: putty 0.85-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms