-\versionid $Id: plink.but,v 1.4 2001/02/19 23:24:01 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
-\# 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
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
without a password. To do this, either:
\b Run PuTTY, and create a PuTTY saved session (see
-\k{config-saving}) which 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:
+\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
\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