- markus@cvs.openbsd.org 2004/06/18 10:55:43
[ssh.1 ssh.c] trim synopsis for -S, allow -S and -oControlMaster, -MM means 'ask'; ok djm
This commit is contained in:
parent
0809e233a4
commit
b8ea24868f
|
@ -28,6 +28,10 @@
|
||||||
[ssh.c]
|
[ssh.c]
|
||||||
delay signal handler setup until we have finished talking to the master.
|
delay signal handler setup until we have finished talking to the master.
|
||||||
allow interrupting of setup (e.g. if master is stuck); ok markus@
|
allow interrupting of setup (e.g. if master is stuck); ok markus@
|
||||||
|
- markus@cvs.openbsd.org 2004/06/18 10:55:43
|
||||||
|
[ssh.1 ssh.c]
|
||||||
|
trim synopsis for -S, allow -S and -oControlMaster, -MM means 'ask';
|
||||||
|
ok djm
|
||||||
|
|
||||||
20040617
|
20040617
|
||||||
- (dtucker) [regress/scp.sh] diff -N is not portable (but needed for some
|
- (dtucker) [regress/scp.sh] diff -N is not portable (but needed for some
|
||||||
|
@ -1301,4 +1305,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3412 2004/06/18 12:20:57 djm Exp $
|
$Id: ChangeLog,v 1.3413 2004/06/18 12:21:55 djm Exp $
|
||||||
|
|
6
ssh.1
6
ssh.1
|
@ -34,7 +34,7 @@
|
||||||
.\" (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.191 2004/06/17 23:56:57 djm Exp $
|
.\" $OpenBSD: ssh.1,v 1.192 2004/06/18 10:55:43 markus Exp $
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSH 1
|
.Dt SSH 1
|
||||||
.Os
|
.Os
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
.Sm on
|
.Sm on
|
||||||
.Xc
|
.Xc
|
||||||
.Oc
|
.Oc
|
||||||
.Op Fl S Ar ctl_path
|
.Op Fl S Ar ctl
|
||||||
.Oo Ar user Ns @ Oc Ns Ar hostname
|
.Oo Ar user Ns @ Oc Ns Ar hostname
|
||||||
.Op Ar command
|
.Op Ar command
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -738,7 +738,7 @@ IPv6 addresses can be specified with an alternative syntax:
|
||||||
.Ar hostport .
|
.Ar hostport .
|
||||||
.Xc
|
.Xc
|
||||||
.Sm on
|
.Sm on
|
||||||
.It Fl S Ar ctl_path
|
.It Fl S Ar ctl
|
||||||
Specifies the location of a control socket for for connection sharing.
|
Specifies the location of a control socket for for connection sharing.
|
||||||
Refer to the description of
|
Refer to the description of
|
||||||
.Cm ControlPath
|
.Cm ControlPath
|
||||||
|
|
10
ssh.c
10
ssh.c
|
@ -40,7 +40,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: ssh.c,v 1.218 2004/06/18 10:40:19 djm Exp $");
|
RCSID("$OpenBSD: ssh.c,v 1.219 2004/06/18 10:55:43 markus Exp $");
|
||||||
|
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
@ -160,8 +160,7 @@ usage(void)
|
||||||
"usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n"
|
"usage: ssh [-1246AaCfghkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n"
|
||||||
" [-D port] [-e escape_char] [-F configfile] [-i identity_file]\n"
|
" [-D port] [-e escape_char] [-F configfile] [-i identity_file]\n"
|
||||||
" [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]\n"
|
" [-L port:host:hostport] [-l login_name] [-m mac_spec] [-o option]\n"
|
||||||
" [-p port] [-R port:host:hostport] [-S ctl_path]\n"
|
" [-p port] [-R port:host:hostport] [-S ctl] [user@]hostname [command]\n"
|
||||||
" [user@]hostname [command]\n"
|
|
||||||
);
|
);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@ -377,7 +376,8 @@ again:
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'M':
|
case 'M':
|
||||||
options.control_master = 1;
|
options.control_master =
|
||||||
|
(options.control_master >= 1) ? 2 : 1;
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
options.port = a2port(optarg);
|
options.port = a2port(optarg);
|
||||||
|
@ -451,8 +451,6 @@ again:
|
||||||
if (options.control_path != NULL)
|
if (options.control_path != NULL)
|
||||||
free(options.control_path);
|
free(options.control_path);
|
||||||
options.control_path = xstrdup(optarg);
|
options.control_path = xstrdup(optarg);
|
||||||
if (options.control_master == -1)
|
|
||||||
options.control_master = 0;
|
|
||||||
break;
|
break;
|
||||||
case 'b':
|
case 'b':
|
||||||
options.bind_address = optarg;
|
options.bind_address = optarg;
|
||||||
|
|
Loading…
Reference in New Issue