[Bug 3334] document `none` keyword for ProxyJump

bugzilla-daemon at mindrot.org
Fri, 06 Aug 2021 05:08:00 -0000

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
             Blocks|                            |3302

--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Christoph Anton Mitterer from comment #0)
> I think ssh_config?s ProxyJump should also mention the apparently
> working `none` keyword (just like ProxyCommand).

Yep, it's handled in parse_jump().  Added to man page.

> to not end up in an endless loop.

ssh will now detect trivial loops for you:

$ cat tmp
Host *.example.org
   ProxyJump login.example.org
$ ./ssh -F tmp login.example.org
jumphost loop via login.example.org

You can still construct non-trivial ones though.

Thanks for the report.


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=3302
[Bug 3302] Tracking bug for openssh-8.7