Mailing List Archive

[Bug 3324] New: SSH client does not use correct user when ProxyJump option specified
https://bugzilla.mindrot.org/show_bug.cgi?id=3324

Bug ID: 3324
Summary: SSH client does not use correct user when ProxyJump
option specified
Product: Portable OpenSSH
Version: 8.6p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P4
Component: ssh
Assignee: unassigned-bugs@mindrot.org
Reporter: jordanatararimu@gmail.com

Created attachment 3529
--> https://bugzilla.mindrot.org/attachment.cgi?id=3529&action=edit
ssh test@visor.home debug log

When using 'ssh test@visor.com'
or
'ssh visor.com -o User=test'

With the following ssh_config, the user is instead set to the current
user instead of the user specified user.

E.g

If my user is "bob" and I do 'ssh test@visor.home', the user that will
be used for authentication for both the jump host and for the target is
"bob" instead of "test".

Host gateway.bastion
ControlMaster auto
ControlPath /tmp/bastion-%r@%h:%p
ControlPersist 10m
IdentityFile ~/.ssh/id_ed25519
Port 4343
HostName example.com


Host *.home
Port 4343
IdentityFile ~/.ssh/id_ed25519
ProxyJump gateway.bastion

Host visor.home
HostName 10.0.0.3

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs