Add a ProxyJump ssh_config(5) option and corresponding -J ssh(1)
authordjm <djm@openbsd.org>
Fri, 15 Jul 2016 00:24:30 +0000 (00:24 +0000)
committerdjm <djm@openbsd.org>
Fri, 15 Jul 2016 00:24:30 +0000 (00:24 +0000)
commitf4f57a927dbb59dad71774943721788e47fe7a98
treedc31808c1c56d246b3cd73edb0cb36111a4c6237
parent65c8a8a0394483b41de8f02c862e65fb529cf538
Add a ProxyJump ssh_config(5) option and corresponding -J ssh(1)
command-line flag to allow simplified indirection through a
SSH bastion or "jump host".

These options construct a proxy command that connects to the
specified jump host(s) (more than one may be specified) and uses
port-forwarding to establish a connection to the next destination.

This codifies the safest way of indirecting connections through SSH
servers and makes it easy to use.

ok markus@
usr.bin/ssh/misc.c
usr.bin/ssh/misc.h
usr.bin/ssh/readconf.c
usr.bin/ssh/readconf.h
usr.bin/ssh/ssh.1
usr.bin/ssh/ssh.c
usr.bin/ssh/ssh_config.5