From: Simon Ruderich Date: Sat, 30 Mar 2013 00:15:28 +0000 (+0100) Subject: ssh_config: Use ControlMaster auto. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=54b939db5b242e092c8dda9e36cf6555009a4c9d ssh_config: Use ControlMaster auto. --- diff --git a/ssh_config b/ssh_config index 818f599..31c8e6d 100644 --- a/ssh_config +++ b/ssh_config @@ -56,6 +56,11 @@ Host * # authentications (which are relatively slow) and TCP connections. The master # sockets are stored in ~/.ssh (by default ControlPath is not set). 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 +# the master session which is obviously not possible. + ControlMaster auto # 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