[Bug 3490] Inconsistent behaviour when using -i and -J options

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Nov 17 23:22:53 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3490

--- Comment #2 from Stephan Wonczak <wonczak at uni-koeln.de> ---
I still think this is inconsistent an unexpected behaviour. For one
thing, the documentation in "man" for -J is far from clear, expecially
in respect to the interactions with keys. 
If an explicit key is supplied by "-i" it should at least be offered to
the jump host - as a user this is what I would expect. And in a way,
this is the behaviour if I use ssh-agent to have a key in my local key
purse. I see no reason why this should differ from supplying a key on
the command line, especially when it is possible to use multiple "-i".
This would also cover the case when the required key for the jump host
differs from the key for the target host - simply supply both keys via
-i.
On the other hand it really is unexpected when an explicitly given
(correct!) key is not even offered to the jump host.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list