X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=ssh_config;h=b9935085a2abc386f2e2f9cf60a17facb1569d3a;hb=a87cb2b0686687f275c77507f96dbed06c08cba3;hp=a9835c2512f79531e24facb831323c091ebd3ee2;hpb=8ad1d0be07448ea0b215765594a68ee00d4b1d55;p=config%2Fdotfiles.git diff --git a/ssh_config b/ssh_config index a9835c2..b993508 100644 --- a/ssh_config +++ b/ssh_config @@ -26,6 +26,18 @@ # ServerAliveInterval 5 +# Options are parsed top-to-bottom, the first matching option is used. Later +# assignments to the same option are ignored, thanks to anonJD in #openssh on +# Freenode (2011-05-18 21:40 CEST) for letting me know. Therefore put all +# affected host specific rules here, before the global rules. +# +# For example to change the MACs option for a specific host, use: +# +# Host host +# # Old SSH daemon which needs SHA1 (SHA-512 in case it gets updated). +# MACs hmac-sha2-512,hmac-sha1 + + # Rules for all hosts. Host * @@ -104,10 +116,10 @@ Host * # prevents stale master connections. ControlPersist 10 -# 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 hash any hosts in ~/.ssh/known_hosts. It doesn't help if the ssh hosts +# are stored in the shell's history file or in this file as shortcut so it's +# rather useless (default). + HashKnownHosts no # Don't permit running local commands (default). PermitLocalCommand no