X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=ssh_config;h=babd153a0cacd5593a0cba5754dc441fa213a96f;hb=43fc6ae667ca55c4c3e3a3f1dd0881a7c2c117ce;hp=b9935085a2abc386f2e2f9cf60a17facb1569d3a;hpb=2f2d22bb5ec82199ae387e05fb8c7a725c7888eb;p=config%2Fdotfiles.git diff --git a/ssh_config b/ssh_config index b993508..babd153 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 @@ -102,7 +102,7 @@ Host * # sockets are stored in ~/.ssh (by default ControlPath is not set). Using %r # (remote user name) might leak information to other users on the current # system (e.g. via netstat or lsof). - ControlPath ~/.ssh/master-%l-%h-%p-%r + ControlPath ~/.ssh/master/%l-%h-%p-%r # Automatically create a new master session if there's none yet or use an # existing one. This way the user doesn't have to use -M to enable a master # manually. Don't set this option to "yes" or all SSH commands try to become @@ -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