HomePhabricator

knownhosts: Do not fail if global known_hosts file is inaccessible

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Thu, Jun 27, 7:29 PM.

Description

knownhosts: Do not fail if global known_hosts file is inaccessible

Previously, if the global known_hosts file (default:
/etc/ssh/ssh_known_hosts) was inaccessible, the check for known hosts
failed. This makes the check to fail if both files are inaccessible.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnFri, Jun 28, 8:03 AM
Parents
rLIBSSHda50b12051fb: connect: Code style formatting
Branches
Unknown
Tags
Unknown