From 20ebba211fbd7740921433de61f301462553fe6b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 2 Jul 2016 12:04:46 +0200 Subject: [PATCH] ssh_config: reorder HashKnownHosts option --- ssh_config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ssh_config b/ssh_config index b993508..188d925 100644 --- a/ssh_config +++ b/ssh_config @@ -3,7 +3,7 @@ # Some options are set even if they are default to prevent /etc/ssh/ssh_config # from overwriting them. -# Copyright (C) 2011-2014 Simon Ruderich +# Copyright (C) 2011-2016 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -116,17 +116,17 @@ Host * # prevents stale master connections. ControlPersist 10 -# 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 # Don't send any environment variables (default). SendEnv +# 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 + # Check host IP in known_hosts when connecting to detect DNS spoofing # (default). CheckHostIP yes -- 2.43.2