When not finding a host in ~/.ssh/known_hosts, the return value is 0 if the host…
When not finding a host in ~/.ssh/known_hosts, the return value is 0 if the host just is not found. We then never check the system host file in /etc. This fixes the code to check /etc on any failure, not just a bad return code.
Showing
Please
register
or
sign in
to comment