From 94546cdc2a7fe7ed40161d66a41b9258354fe75b Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Fri, 15 Oct 2004 23:32:01 +0000 Subject: [PATCH] Mention plink's new -N option in usage and man page. [originally from svn r4643] --- doc/man-pl.but | 4 ++++ doc/plink.but | 3 ++- plink.c | 1 + unix/uxplink.c | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/man-pl.but b/doc/man-pl.but index 1f34dc1a..cf0d4194 100644 --- a/doc/man-pl.but +++ b/doc/man-pl.but @@ -136,6 +136,10 @@ tunnel all their connections. Only works in SSH. \dd Remote command is SSH subsystem (SSH-2 only). +\dt \cw{-N} + +\dd Don't start a remote command or shell at all (SSH-2 only). + \S{plink-manpage-more-information} MORE INFORMATION For more information on plink, it's probably best to go and look at diff --git a/doc/plink.but b/doc/plink.but index 37416456..e4cb0bc3 100644 --- a/doc/plink.but +++ b/doc/plink.but @@ -1,4 +1,4 @@ -\versionid $Id: plink.but,v 1.25 2004/08/19 13:14:55 jacob Exp $ +\versionid $Id: plink.but,v 1.26 2004/10/15 23:32:01 jacob Exp $ \C{plink} Using the command-line connection tool Plink @@ -71,6 +71,7 @@ use Plink: \c -C enable compression \c -i key private key file for authentication \c -s remote command is an SSH subsystem (SSH-2 only) +\c -N don't start a shell/command (SSH-2 only) Once this works, you are ready to use Plink. diff --git a/plink.c b/plink.c index f6e2a702..b99646af 100644 --- a/plink.c +++ b/plink.c @@ -234,6 +234,7 @@ static void usage(void) printf(" -C enable compression\n"); printf(" -i key private key file for authentication\n"); printf(" -s remote command is an SSH subsystem (SSH-2 only)\n"); + printf(" -N don't start a shell/command (SSH-2 only)\n"); exit(1); } diff --git a/unix/uxplink.c b/unix/uxplink.c index 146fcb30..e2b4d3d9 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -230,6 +230,7 @@ static void usage(void) printf(" -C enable compression\n"); printf(" -i key private key file for authentication\n"); printf(" -s remote command is an SSH subsystem (SSH-2 only)\n"); + printf(" -N don't start a shell/command (SSH-2 only)\n"); exit(1); } -- 2.45.2