- jmc@cvs.openbsd.org 2013/11/26 12:14:54

[ssh.1 ssh.c]
     - put -Q in the right place
     - Ar was a poor choice for the arguments to -Q. i've chosen an
       admittedly equally poor Cm, at least consistent with the rest
       of the docs. also no need for multiple instances
     - zap a now redundant Nm
     - usage() sync
This commit is contained in:
Damien Miller 2013-12-05 10:20:52 +11:00
parent d937dc084a
commit bdb352a54f
3 changed files with 17 additions and 10 deletions

View File

@ -8,6 +8,14 @@
improve -Q usage and such. One usage change is that the option is now improve -Q usage and such. One usage change is that the option is now
case-sensitive case-sensitive
ok dtucker markus djm ok dtucker markus djm
- jmc@cvs.openbsd.org 2013/11/26 12:14:54
[ssh.1 ssh.c]
- put -Q in the right place
- Ar was a poor choice for the arguments to -Q. i've chosen an
admittedly equally poor Cm, at least consistent with the rest
of the docs. also no need for multiple instances
- zap a now redundant Nm
- usage() sync
20131121 20131121
- (djm) OpenBSD CVS Sync - (djm) OpenBSD CVS Sync

9
ssh.1
View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: ssh.1,v 1.341 2013/11/25 18:04:21 deraadt Exp $ .\" $OpenBSD: ssh.1,v 1.342 2013/11/26 12:14:54 jmc Exp $
.Dd $Mdocdate: November 25 2013 $ .Dd $Mdocdate: November 26 2013 $
.Dt SSH 1 .Dt SSH 1
.Os .Os
.Sh NAME .Sh NAME
@ -58,15 +58,14 @@
.Op Fl O Ar ctl_cmd .Op Fl O Ar ctl_cmd
.Op Fl o Ar option .Op Fl o Ar option
.Op Fl p Ar port .Op Fl p Ar port
.Op Fl Q Cm cipher | cipher-auth | mac | kex | key
.Op Fl R Oo Ar bind_address : Oc Ns Ar port : Ns Ar host : Ns Ar hostport .Op Fl R Oo Ar bind_address : Oc Ns Ar port : Ns Ar host : Ns Ar hostport
.Op Fl S Ar ctl_path .Op Fl S Ar ctl_path
.Op Fl Q Ar cipher | Ar cipher-auth | Ar mac | Ar kex | Ar key
.Op Fl W Ar host : Ns Ar port .Op Fl W Ar host : Ns Ar port
.Op Fl w Ar local_tun Ns Op : Ns Ar remote_tun .Op Fl w Ar local_tun Ns Op : Ns Ar remote_tun
.Oo Ar user Ns @ Oc Ns Ar hostname .Oo Ar user Ns @ Oc Ns Ar hostname
.Op Ar command .Op Ar command
.Ek .Ek
.Nm
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
(SSH client) is a program for logging into a remote machine and for (SSH client) is a program for logging into a remote machine and for
@ -496,7 +495,7 @@ For full details of the options listed below, and their possible values, see
Port to connect to on the remote host. Port to connect to on the remote host.
This can be specified on a This can be specified on a
per-host basis in the configuration file. per-host basis in the configuration file.
.It Fl Q Ar cipher | Ar cipher-auth | Ar mac | Ar kex | Ar key .It Fl Q Cm cipher | cipher-auth | mac | kex | key
Queries Queries
.Nm .Nm
for the algorithms supported for the specified version 2. for the algorithms supported for the specified version 2.

10
ssh.c
View File

@ -1,4 +1,4 @@
/* $OpenBSD: ssh.c,v 1.394 2013/11/25 18:04:21 deraadt Exp $ */ /* $OpenBSD: ssh.c,v 1.395 2013/11/26 12:14:54 jmc Exp $ */
/* /*
* Author: Tatu Ylonen <ylo@cs.hut.fi> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -200,10 +200,10 @@ usage(void)
" [-D [bind_address:]port] [-E log_file] [-e escape_char]\n" " [-D [bind_address:]port] [-E log_file] [-e escape_char]\n"
" [-F configfile] [-I pkcs11] [-i identity_file]\n" " [-F configfile] [-I pkcs11] [-i identity_file]\n"
" [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]\n" " [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]\n"
" [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport]\n" " [-O ctl_cmd] [-o option] [-p port]\n"
" [-S ctl_path] [-Q cipher | cipher-auth | mac | kex | key]\n" " [-Q cipher | cipher-auth | mac | kex | key]\n"
" [-W host:port] [-w local_tun[:remote_tun]]\n" " [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]\n"
" [user@]hostname [command]\n" " [-w local_tun[:remote_tun]] [user@]hostname [command]\n"
); );
exit(255); exit(255);
} }