[Bug 3163] New: teach ssh-keyscan to use ssh_config (plus options like ProxyJump)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon May 11 19:18:55 AEST 2020


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 at mindrot.org
          Reporter: jirib79 at 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 at jumpbox.example.com
---%<---

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list