Mailing List Archive

[Bug 3163] New: teach ssh-keyscan to use ssh_config (plus options like ProxyJump)
https://bugzilla.mindrot.org/show_bug.cgi?id=3163

Bug ID: 3163
Summary: teach ssh-keyscan to use ssh_config (plus options like
ProxyJump)
Product: Portable OpenSSH
Version: 7.4p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh-keyscan
Assignee: unassigned-bugs@mindrot.org
Reporter: jirib79@gmail.com

The goal was to ust ssh-keyscan for hosts behind ssh jumpbox.

My ssh_config has ProxyJump defined for each host behind jumpbox.

But it seems `ssh-keyscan' does not consult the ssh_config at all
(checked with `strace'). It reported:

---%>---
# ssh-keyscan -v foo-host
getaddrinfo foo-host: Name or service not known
---%<---

ssh_config was something like that

---%>---
Host foo-host
Hostname 10.72.8.4
ProxyJump backup@jumpbox.example.com
---%<---

--
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