From b72c366dd76ccee951d022f7cc4bab5cfaf39b08 Mon Sep 17 00:00:00 2001 From: jacob Date: Fri, 15 Oct 2004 23:32:01 +0000 Subject: [PATCH] Mention plink's new -N option in usage and man page. git-svn-id: svn://svn.tartarus.org/sgt/putty@4643 cda61777-01e9-0310-a592-d414129be87e --- 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.11.0