Catch permissions errors related to opening a known_hosts file

Catch permissions errors related to opening a known_hosts file