]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
ssh_config: Enable HashKnownHosts.
authorSimon Ruderich <simon@ruderich.org>
Sat, 9 Feb 2013 19:59:15 +0000 (20:59 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 9 Feb 2013 20:52:28 +0000 (21:52 +0100)
ssh_config

index 3326892f1aeafe13fce941f6de1b5e460c250862..be03a42673df4647a24d8e075112a01054a201bc 100644 (file)
@@ -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