upstream: Mention that configuration for the destination host is

not applied to any ProxyJump/-J hosts. This has confused a few people...

OpenBSD-Commit-ID: 03f4f641df6ca236c1bfc69836a256b873db868b
This commit is contained in:
djm@openbsd.org 2019-01-22 11:51:25 +00:00 committed by Damien Miller
parent ecd2f33cb7
commit 7a2cb18a21
2 changed files with 15 additions and 4 deletions

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.399 2018/09/20 06:58:48 jmc Exp $ .\" $OpenBSD: ssh.1,v 1.400 2019/01/22 11:51:25 djm Exp $
.Dd $Mdocdate: September 20 2018 $ .Dd $Mdocdate: January 22 2019 $
.Dt SSH 1 .Dt SSH 1
.Os .Os
.Sh NAME .Sh NAME
@ -308,6 +308,11 @@ Multiple jump hops may be specified separated by comma characters.
This is a shortcut to specify a This is a shortcut to specify a
.Cm ProxyJump .Cm ProxyJump
configuration directive. configuration directive.
Note that configuration directives supplied on the command-line generally
apply to the destination host and not any specified jump hosts.
Use
.Pa ~/.ssh/config
to specify configuration for jump hosts.
.Pp .Pp
.It Fl K .It Fl K
Enables GSSAPI-based authentication and forwarding (delegation) of GSSAPI Enables GSSAPI-based authentication and forwarding (delegation) of GSSAPI

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_config.5,v 1.288 2018/11/23 06:58:28 jmc Exp $ .\" $OpenBSD: ssh_config.5,v 1.289 2019/01/22 11:51:25 djm Exp $
.Dd $Mdocdate: November 23 2018 $ .Dd $Mdocdate: January 22 2019 $
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -1263,6 +1263,12 @@ 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
Note also that the configuration for the destination host (either supplied
via the command-line or the configuration file) is not generally applied
to jump hosts.
.Pa ~/.ssh/config
should be used if specific configuration is required for jump hosts.
.It Cm ProxyUseFdpass .It Cm ProxyUseFdpass
Specifies that Specifies that
.Cm ProxyCommand .Cm ProxyCommand