From: Simon Ruderich Date: Sat, 9 Feb 2013 19:59:15 +0000 (+0100) Subject: ssh_config: Enable HashKnownHosts. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=a762bccfe57f7b57e96af63130bb8da338c5e0fe ssh_config: Enable HashKnownHosts. --- diff --git a/ssh_config b/ssh_config index 3326892..be03a42 100644 --- a/ssh_config +++ b/ssh_config @@ -48,6 +48,11 @@ Host * # sockets are stored in ~/.ssh (by default ControlPath is not set). ControlPath ~/.ssh/master-%l-%h-%p-%r +# Hash hosts in ~/.ssh/known_hosts to try to conceal the known hosts. Doesn't +# help if the ssh hosts are stored in the shell's history file or in this file +# as shortcut. + HashKnownHosts yes + # Don't permit running local commands. PermitLocalCommand no