diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2023-10-12 02:18:19 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2023-10-12 02:18:19 +0000 |
commit | 18fe8f3ddc5d424a2932bf66a43e9d54a83a55e4 (patch) | |
tree | 1bf1dfa85690fcbaf4d510dc86ae3b1ab29afd05 /usr.bin/ssh/ssh_config.5 | |
parent | 9794c20205e654ed06fe743942c3159218b49eca (diff) |
add %j token that expands to the configured ProxyJump hostname (or
the empty string if this option is not being used).
bz3610, ok dtucker
Diffstat (limited to 'usr.bin/ssh/ssh_config.5')
-rw-r--r-- | usr.bin/ssh/ssh_config.5 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index 65f5345f7c7..f137d304e97 100644 --- a/usr.bin/ssh/ssh_config.5 +++ b/usr.bin/ssh/ssh_config.5 @@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.390 2023/10/11 22:42:26 djm Exp $ -.Dd $Mdocdate: October 11 2023 $ +.\" $OpenBSD: ssh_config.5,v 1.391 2023/10/12 02:18:18 djm Exp $ +.Dd $Mdocdate: October 12 2023 $ .Dt SSH_CONFIG 5 .Os .Sh NAME @@ -2193,7 +2193,7 @@ which are expanded at runtime: A literal .Sq % . .It \&%C -Hash of %l%h%p%r. +Hash of %l%h%p%r%j. .It %d Local user's home directory. .It %f @@ -2219,6 +2219,9 @@ when preparing the host key algorithm preference list to use for the destination host. .It %i The local user ID. +.It %j +The contents of the ProxyJump option, or the empty string if this +option is unset. .It %K The base64 encoded host key. .It %k @@ -2262,7 +2265,7 @@ The local username. .Cm RevokedHostKeys , and .Cm UserKnownHostsFile -accept the tokens %%, %C, %d, %h, %i, %k, %L, %l, %n, %p, %r, and %u. +accept the tokens %%, %C, %d, %h, %i, %j, %k, %L, %l, %n, %p, %r, and %u. .Pp .Cm KnownHostsCommand additionally accepts the tokens %f, %H, %I, %K and %t. |