summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-06-18 16:22:39 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-06-18 16:22:39 +1000
commitba5c592126c70587b6fb6887494f1e29a8a05e09 (patch)
tree5ea44bdf1c5411772abf208269267972abefdf31
parent13fbe57722748399a165791b6e37b6dccbe73c12 (diff)
- djm@cvs.openbsd.org 2004/06/17 23:56:57
[ssh.1 ssh.c] sync usage() and SYNPOSIS with connection sharing changes
-rw-r--r--ChangeLog6
-rw-r--r--ssh.113
-rw-r--r--ssh.c7
3 files changed, 16 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 96701bfef..2a24d8812 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,10 @@
12 shared connection env passing regress test 12 shared connection env passing regress test
13 - (dtucker) [regress/README.regress] Add detail on how to run a single 13 - (dtucker) [regress/README.regress] Add detail on how to run a single
14 test from the top-level Makefile. 14 test from the top-level Makefile.
15 - (dtucker) OpenBSD CVS Sync
16 - djm@cvs.openbsd.org 2004/06/17 23:56:57
17 [ssh.1 ssh.c]
18 sync usage() and SYNPOSIS with connection sharing changes
15 19
1620040617 2020040617
17 - (dtucker) [regress/scp.sh] diff -N is not portable (but needed for some 21 - (dtucker) [regress/scp.sh] diff -N is not portable (but needed for some
@@ -1285,4 +1289,4 @@
1285 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1289 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1286 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1290 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1287 1291
1288$Id: ChangeLog,v 1.3408 2004/06/18 04:14:43 dtucker Exp $ 1292$Id: ChangeLog,v 1.3409 2004/06/18 06:22:39 dtucker Exp $
diff --git a/ssh.1 b/ssh.1
index b70102be5..dcd02c28f 100644
--- a/ssh.1
+++ b/ssh.1
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: ssh.1,v 1.190 2004/06/13 15:03:02 djm Exp $ 37.\" $OpenBSD: ssh.1,v 1.191 2004/06/17 23:56:57 djm Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSH 1 39.Dt SSH 1
40.Os 40.Os
@@ -43,7 +43,7 @@
43.Nd OpenSSH SSH client (remote login program) 43.Nd OpenSSH SSH client (remote login program)
44.Sh SYNOPSIS 44.Sh SYNOPSIS
45.Nm ssh 45.Nm ssh
46.Op Fl 1246AaCfgkMNnqSsTtVvXxY 46.Op Fl 1246AaCfgkMNnqsTtVvXxY
47.Op Fl b Ar bind_address 47.Op Fl b Ar bind_address
48.Op Fl c Ar cipher_spec 48.Op Fl c Ar cipher_spec
49.Op Fl D Ar port 49.Op Fl D Ar port
@@ -74,6 +74,7 @@
74.Sm on 74.Sm on
75.Xc 75.Xc
76.Oc 76.Oc
77.Op Fl S Ar ctl_path
77.Oo Ar user Ns @ Oc Ns Ar hostname 78.Oo Ar user Ns @ Oc Ns Ar hostname
78.Op Ar command 79.Op Ar command
79.Sh DESCRIPTION 80.Sh DESCRIPTION
@@ -737,11 +738,11 @@ IPv6 addresses can be specified with an alternative syntax:
737.Ar hostport . 738.Ar hostport .
738.Xc 739.Xc
739.Sm on 740.Sm on
740.It Fl S 741.It Fl S Ar ctl_path
741Places the 742Specifies the location of a control socket for for connection sharing.
742.Nm
743client into slave mode for connection sharing.
744Refer to the description of 743Refer to the description of
744.Cm ControlPath
745and
745.Cm ControlMaster 746.Cm ControlMaster
746in 747in
747.Xr ssh_config 5 748.Xr ssh_config 5
diff --git a/ssh.c b/ssh.c
index 6f8114d53..16284f824 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: ssh.c,v 1.216 2004/06/17 15:10:14 djm Exp $"); 43RCSID("$OpenBSD: ssh.c,v 1.217 2004/06/17 23:56:57 djm Exp $");
44 44
45#include <openssl/evp.h> 45#include <openssl/evp.h>
46#include <openssl/err.h> 46#include <openssl/err.h>
@@ -157,10 +157,11 @@ static void
157usage(void) 157usage(void)
158{ 158{
159 fprintf(stderr, 159 fprintf(stderr,
160"usage: ssh [-1246AaCfghkNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n" 160"usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n"
161" [-D port] [-e escape_char] [-F configfile] [-i identity_file]\n" 161" [-D port] [-e escape_char] [-F configfile] [-i identity_file]\n"
162" [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]\n" 162" [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]\n"
163" [-p port] [-R port:host:hostport] [user@]hostname [command]\n" 163" [-p port] [-R port:host:hostport] [-S ctl_path]\n"
164" [user@]hostname [command]\n"
164 ); 165 );
165 exit(1); 166 exit(1);
166} 167}