X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/46ed7b64cb3736ee27e06752cb49415ad2a72dec..055817455466c8eb60392f30bb7c689763962e17:/doc/using.but diff --git a/doc/using.but b/doc/using.but index 575603d8..db457ed3 100644 --- a/doc/using.but +++ b/doc/using.but @@ -1,4 +1,4 @@ -\versionid $Id: using.but,v 1.33 2004/10/06 22:31:07 jacob Exp $ +\define{versionidusing} \versionid $Id$ \C{using} Using PuTTY @@ -175,17 +175,33 @@ PuTTY can also be configured to send this when Ctrl-Z is typed; see In an SSH connection, the following special commands are available: +\b \I{IGNORE message, SSH special command}\I{No-op, in SSH}IGNORE message + +\lcont{ +Should have no effect. +} + +\b \I{Repeat key exchange, SSH special command}Repeat key exchange + +\lcont{ +Only available in SSH-2. Forces a repeat key exchange immediately (and +resets associated timers and counters). For more information about +repeat key exchanges, see \k{config-ssh-kex-rekey}. +} + \b \I{Break, SSH special command}Break \lcont{ -Optional extension; may not be supported by server. PuTTY requests the -server's default break length. +Only available in SSH-2, and only during a session. Optional +extension; may not be supported by server. PuTTY requests the server's +default break length. } -\b \I{IGNORE message, SSH special command}\I{No-op, in SSH}IGNORE message +\b \I{Signal, SSH special command}Signals (SIGINT, SIGTERM etc) \lcont{ -Should have no effect. +Only available in SSH-2, and only during a session. Sends various +POSIX signals. Not honoured by all servers. } \S2{using-newsession} Starting new sessions @@ -196,10 +212,13 @@ sessions: \b Selecting \i{\q{New Session}} will start a completely new instance of PuTTY, and bring up the configuration box as normal. -\b Selecting \i{\q{Duplicate Session}} will start a session with -precisely the same options as your current one - connecting to the -same host using the same protocol, with all the same terminal -settings and everything. +\b Selecting \i{\q{Duplicate Session}} will start a session in a +new window with precisely the same options as your current one - +connecting to the same host using the same protocol, with all the +same terminal settings and everything. + +\b In an inactive window, selecting \i{\q{Restart Session}} will +do the same as \q{Duplicate Session}, but in the current window. \b The \i{\q{Saved Sessions} submenu} gives you quick access to any sets of stored session details you have previously saved. See @@ -278,15 +297,17 @@ See \k{config-logging} for more details and options. \H{using-translation} Altering your \i{character set} configuration If you find that special characters (\i{accented characters}, for -example) are not being displayed correctly in your PuTTY session, it -may be that PuTTY is interpreting the characters sent by the server -according to the wrong \e{character set}. There are a lot of -different character sets available, so it's entirely possible for -this to happen. +example, or \i{line-drawing characters}) are not being displayed +correctly in your PuTTY session, it may be that PuTTY is interpreting +the characters sent by the server according to the wrong \e{character +set}. There are a lot of different character sets available, so it's +entirely possible for this to happen. If you click \q{Change Settings} and look at the \i{\q{Translation} -panel}, you should see a large number of character sets which you -can select. Now all you need is to find out which of them you want! +panel}, you should see a large number of character sets which you can +select, and other related options. Now all you need is to find out +which of them you want! (See \k{config-translation} for more +information.) \H{using-x-forwarding} Using \i{X11 forwarding} in SSH @@ -496,8 +517,9 @@ use the \c{-load} option (described in \k{using-cmdline-load}). \S{using-cleanup} \i\c{-cleanup} If invoked with the \c{-cleanup} option, rather than running as -normal, PuTTY will remove its registry entries and random seed file -from the local machine (after confirming with the user). +normal, PuTTY will remove its \I{removing registry entries}registry +entries and \I{random seed file} from the local machine (after +confirming with the user). \S{using-general-opts} Standard command-line options @@ -523,7 +545,7 @@ call something like \c d:\path\to\putty.exe -load "my session" (Note that PuTTY itself supports an alternative form of this option, -for backwards compatibility. If you execute \c{putty @sessionname} +for backwards compatibility. If you execute \i\c{putty @sessionname} it will have the same effect as \c{putty -load "sessionname"}. With the \c{@} form, no double quotes are required, and the \c{@} sign must be the very first thing on the command line. This form of the @@ -694,6 +716,24 @@ configuration box (see \k{config-ssh-pty}). These options are not available in the file transfer tools PSCP and PSFTP. +\S2{using-cmdline-noshell} \I{-N-upper}\c{-N}: suppress starting a +\I{suppressing remote shell}shell or command + +The \c{-N} option prevents PuTTY from attempting to start a shell or +command on the remote server. You might want to use this option if +you are only using the SSH connection for port forwarding, and your +user account on the server does not have the ability to run a shell. + +This feature is only available in SSH protocol version 2 (since the +version 1 protocol assumes you will always want to run a shell). + +This option is equivalent to the \q{Don't start a shell or command +at all} checkbox in the SSH panel of the PuTTY configuration box +(see \k{config-ssh-noshell}). + +This option is not available in the file transfer tools PSCP and +PSFTP. + \S2{using-cmdline-compress} \I{-C-upper}\c{-C}: enable \i{compression} The \c{-C} option enables compression of the data sent across the @@ -714,6 +754,16 @@ These options are equivalent to selecting your preferred SSH protocol version as \q{1 only} or \q{2 only} in the SSH panel of the PuTTY configuration box (see \k{config-ssh-prot}). +\S2{using-cmdline-ipversion} \i\c{-4} and \i\c{-6}: specify an +\i{Internet protocol version} + +The \c{-4} and \c{-6} options force PuTTY to use the older Internet +protocol \i{IPv4} or the newer \i{IPv6}. + +These options are equivalent to selecting your preferred Internet +protocol version as \q{IPv4} or \q{IPv6} in the Connection panel of +the PuTTY configuration box (see \k{config-address-family}). + \S2{using-cmdline-identity} \i\c{-i}: specify an SSH \i{private key} The \c{-i} option allows you to specify the name of a private key