Displaying 2 results from an estimated 2 matches for "mykeyscan".
Did you mean:
keyscan
2023 Feb 27
1
Why does ssh-keyscan not use .ssh/config?
Hi ML members,
is there a reason, why ssh-keyscan does not use Host definitions from .ssh/config but does only relys on DNS host names? I have a quite long list of host names and a not that well maintained name server.
2023 Mar 01
1
Why does ssh-keyscan not use .ssh/config?
...username, but ssh-keyscan not)
CanonicalizeHostname and Canonicalize*
BindInterface/BindAddress
There are other options too, and implementing them all would be quite
a bit of work.
I'd suggest writing a script or alias using `ssh -G` to resolve the hostname
and plumb it to ssh-keyscan. E.g.
mykeyscan() {
for x in "$@" ; do
ssh-keyscan `ssh -G "$x" | grep "^hostname " | awk '{print $2}'`
done
}
-d