From a762bccfe57f7b57e96af63130bb8da338c5e0fe Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 9 Feb 2013 20:59:15 +0100 Subject: [PATCH] ssh_config: Enable HashKnownHosts. --- ssh_config | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.44.1