upstream commit
- add proxyjump to the options list - formatting fixes - update usage() ok djm Upstream-ID: 43d318e14ce677a2eec8f21ef5ba2f9f68a59457
This commit is contained in:
parent
af1f084857
commit
e4eb7d9109
5
scp.1
5
scp.1
|
@ -8,9 +8,9 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created: Sun May 7 00:14:37 1995 ylo
|
.\" Created: Sun May 7 00:14:37 1995 ylo
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: scp.1,v 1.70 2016/06/29 17:14:28 jmc Exp $
|
.\" $OpenBSD: scp.1,v 1.71 2016/07/16 06:57:55 jmc Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd $Mdocdate: June 29 2016 $
|
.Dd $Mdocdate: July 16 2016 $
|
||||||
.Dt SCP 1
|
.Dt SCP 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -172,6 +172,7 @@ For full details of the options listed below, and their possible values, see
|
||||||
.It PreferredAuthentications
|
.It PreferredAuthentications
|
||||||
.It Protocol
|
.It Protocol
|
||||||
.It ProxyCommand
|
.It ProxyCommand
|
||||||
|
.It ProxyJump
|
||||||
.It PubkeyAcceptedKeyTypes
|
.It PubkeyAcceptedKeyTypes
|
||||||
.It PubkeyAuthentication
|
.It PubkeyAuthentication
|
||||||
.It RekeyLimit
|
.It RekeyLimit
|
||||||
|
|
5
sftp.1
5
sftp.1
|
@ -1,4 +1,4 @@
|
||||||
.\" $OpenBSD: sftp.1,v 1.104 2016/06/29 17:14:28 jmc Exp $
|
.\" $OpenBSD: sftp.1,v 1.105 2016/07/16 06:57:55 jmc Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
|
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
|
@ -22,7 +22,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.
|
||||||
.\"
|
.\"
|
||||||
.Dd $Mdocdate: June 29 2016 $
|
.Dd $Mdocdate: July 16 2016 $
|
||||||
.Dt SFTP 1
|
.Dt SFTP 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -237,6 +237,7 @@ For full details of the options listed below, and their possible values, see
|
||||||
.It PreferredAuthentications
|
.It PreferredAuthentications
|
||||||
.It Protocol
|
.It Protocol
|
||||||
.It ProxyCommand
|
.It ProxyCommand
|
||||||
|
.It ProxyJump
|
||||||
.It PubkeyAuthentication
|
.It PubkeyAuthentication
|
||||||
.It RekeyLimit
|
.It RekeyLimit
|
||||||
.It RhostsRSAAuthentication
|
.It RhostsRSAAuthentication
|
||||||
|
|
18
ssh.1
18
ssh.1
|
@ -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.375 2016/07/15 00:24:30 djm Exp $
|
.\" $OpenBSD: ssh.1,v 1.376 2016/07/16 06:57:55 jmc Exp $
|
||||||
.Dd $Mdocdate: July 15 2016 $
|
.Dd $Mdocdate: July 16 2016 $
|
||||||
.Dt SSH 1
|
.Dt SSH 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
.Op Fl F Ar configfile
|
.Op Fl F Ar configfile
|
||||||
.Op Fl I Ar pkcs11
|
.Op Fl I Ar pkcs11
|
||||||
.Op Fl i Ar identity_file
|
.Op Fl i Ar identity_file
|
||||||
.Oo Fl J Ar user Ns @ Oc Ns Ar host Ns Op : Ns Ar port
|
.Op Fl J Oo Ar user Ns @ Oc Ns Ar host Ns Op : Ns Ar port
|
||||||
.Op Fl L Ar address
|
.Op Fl L Ar address
|
||||||
.Op Fl l Ar login_name
|
.Op Fl l Ar login_name
|
||||||
.Op Fl m Ar mac_spec
|
.Op Fl m Ar mac_spec
|
||||||
|
@ -315,16 +315,16 @@ to identity filenames.
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl J Xo
|
.It Fl J Xo
|
||||||
.Sm off
|
.Sm off
|
||||||
.Oo Ar jump_user @ Oc
|
.Op Ar user No @
|
||||||
.Ar jump_host
|
.Ar host
|
||||||
.Ns Op : Ns Ar jump_port
|
.Op : Ar port
|
||||||
.Sm on
|
.Sm on
|
||||||
.Xc
|
.Xc
|
||||||
Connect to the target host by first making a
|
Connect to the target host by first making a
|
||||||
.Nm
|
.Nm
|
||||||
connection to
|
connection to the jump
|
||||||
.Ar jump_host
|
.Ar host
|
||||||
and then establishing a TCP forward to the ultimate destination from
|
and then establishing a TCP forwarding to the ultimate destination from
|
||||||
there.
|
there.
|
||||||
Multiple jump hops may be specified separated by comma characters.
|
Multiple jump hops may be specified separated by comma characters.
|
||||||
This is a shortcut to specify a
|
This is a shortcut to specify a
|
||||||
|
|
11
ssh.c
11
ssh.c
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: ssh.c,v 1.443 2016/07/15 00:24:30 djm Exp $ */
|
/* $OpenBSD: ssh.c,v 1.444 2016/07/16 06:57:55 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
|
||||||
|
@ -198,10 +198,11 @@ usage(void)
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]\n"
|
"usage: ssh [-1246AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]\n"
|
||||||
" [-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] [-L address]\n"
|
" [-F configfile] [-I pkcs11] [-i identity_file]\n"
|
||||||
" [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n"
|
" [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]\n"
|
||||||
" [-Q query_option] [-R address] [-S ctl_path] [-W host:port]\n"
|
" [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]\n"
|
||||||
" [-w local_tun[:remote_tun]] [user@]hostname [command]\n"
|
" [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]\n"
|
||||||
|
" [user@]hostname [command]\n"
|
||||||
);
|
);
|
||||||
exit(255);
|
exit(255);
|
||||||
}
|
}
|
||||||
|
|
11
ssh_config.5
11
ssh_config.5
|
@ -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_config.5,v 1.233 2016/07/15 00:24:30 djm Exp $
|
.\" $OpenBSD: ssh_config.5,v 1.234 2016/07/16 06:57:55 jmc Exp $
|
||||||
.Dd $Mdocdate: July 15 2016 $
|
.Dd $Mdocdate: July 16 2016 $
|
||||||
.Dt SSH_CONFIG 5
|
.Dt SSH_CONFIG 5
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -1362,9 +1362,9 @@ ProxyCommand /usr/bin/nc -X connect -x 192.0.2.0:8080 %h %p
|
||||||
Specifies one or more jump proxies as
|
Specifies one or more jump proxies as
|
||||||
.Xo
|
.Xo
|
||||||
.Sm off
|
.Sm off
|
||||||
.Oo Ar user @ Oc
|
.Op Ar user No @
|
||||||
.Ar host
|
.Ar host
|
||||||
.Ns Op : Ns Ar port
|
.Op : Ns Ar port
|
||||||
.Sm on
|
.Sm on
|
||||||
.Xc .
|
.Xc .
|
||||||
Multiple proxies may be separated by comma characters.
|
Multiple proxies may be separated by comma characters.
|
||||||
|
@ -1375,13 +1375,12 @@ to connect to the target host by first making a
|
||||||
connection to the specified
|
connection to the specified
|
||||||
.Cm ProxyJump
|
.Cm ProxyJump
|
||||||
host and then establishing a
|
host and then establishing a
|
||||||
a TCP forwarding to the ultimate target from there.
|
TCP forwarding to the ultimate target from there.
|
||||||
.Pp
|
.Pp
|
||||||
Note that this option will compete with the
|
Note that this option will compete with the
|
||||||
.Cm ProxyCommand
|
.Cm ProxyCommand
|
||||||
option - whichever is specified first will prevent later instances of the
|
option - whichever is specified first will prevent later instances of the
|
||||||
other from taking effect.
|
other from taking effect.
|
||||||
.Pp
|
|
||||||
.It Cm ProxyUseFdpass
|
.It Cm ProxyUseFdpass
|
||||||
Specifies that
|
Specifies that
|
||||||
.Cm ProxyCommand
|
.Cm ProxyCommand
|
||||||
|
|
Loading…
Reference in New Issue