Arrgh, and "password" should be spelled "passphrase".
[sgt/putty] / doc / plink.but
index cdee880..835dad8 100644 (file)
@@ -1,21 +1,10 @@
-\versionid $Id: plink.but,v 1.5 2001/04/18 15:23:36 owen Exp $
+\versionid $Id: plink.but,v 1.10 2001/11/25 16:57:45 simon Exp $
 
 \C{plink} Using the command-line connection tool Plink
 
 
 \C{plink} Using the command-line connection tool Plink
 
-\# Explain Plink
-
-\# Explain that Plink is probably not what you want if you want to
-\# run an interactive session in a Command Prompt window
-
-\# Explain that Plink is really for batch-file use, and that
-\# therefore it works best with public-key authentication; link to
-\# that chapter
-
-\# Give instructions on how to set up Plink with CVS
-
-\i{Plink} (PuTTY Link), is a command-line connection tool similar to
-UNIX \c{ssh}.  It is probably not what you want if you want to run an
-interactive session in a console window.
+\i{Plink} (PuTTY Link) is a command-line connection tool similar to
+UNIX \c{ssh}.  It is probably not what you want if you want to run
+an interactive session in a console window.
 
 \H{plink-starting} Starting Plink
 
 
 \H{plink-starting} Starting Plink
 
@@ -30,7 +19,7 @@ To start Plink it will need either to be on your \i{\c{PATH}} or in your
 current directory.  To add the directory containing Plink to your
 \c{PATH} environment variable, type into the console window:
 
 current directory.  To add the directory containing Plink to your
 \c{PATH} environment variable, type into the console window:
 
-\c set PATH C:\path\to\putty\directory;%PATH%
+\c set PATH=C:\path\to\putty\directory;%PATH%
 
 This will only work for the lifetime of that particular console
 window.  To set your \c{PATH} more permanently on Windows NT, use the
 
 This will only work for the lifetime of that particular console
 window.  To set your \c{PATH} more permanently on Windows NT, use the
@@ -103,11 +92,12 @@ To use Plink with CVS, you need to set the environment variable
 You also need to arrange to be able to connect to a remote host
 without a password.  To do this, either:
 
 You also need to arrange to be able to connect to a remote host
 without a password.  To do this, either:
 
-\b Run PuTTY, and create a PuTTY saved session (see \k{config-saving})
-with the protocol set to SSH (see \k{config-hostname}) and specifies
-your private key file (see \k{config-auth}). You will probably also
-want to specify a username to log in as (see \k{config-username}).
-You should then be able to run CVS as follows:
+\b Run PuTTY, and create a PuTTY saved session (see
+\k{config-saving}) with the protocol set to SSH (see
+\k{config-hostname}) and specifies your private key file (see
+\k{config-ssh-privkey}). You will probably also want to specify a
+username to log in as (see \k{config-username}). You should then be
+able to run CVS as follows:
 
 \c cvs -d :ext:user@sessionname:/path/to/repository co module
 
 
 \c cvs -d :ext:user@sessionname:/path/to/repository co module
 
@@ -120,6 +110,10 @@ Alternatively, you can use Pageant if Pageant is running (see
 
 \b Ensure Pageant is running, and has your private key stored in it.
 
 
 \b Ensure Pageant is running, and has your private key stored in it.
 
+\b Set the environment variable \cw{PLINK_PROTOCOL} to the string
+\c{ssh}, to make sure Plink will try to connect using SSH instead of
+Telnet.
+
 \b Run CVS as follows:
 
 \c cvs -d :ext:user@hostname:/path/to/repository co module
 \b Run CVS as follows:
 
 \c cvs -d :ext:user@hostname:/path/to/repository co module