From 54b939db5b242e092c8dda9e36cf6555009a4c9d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 30 Mar 2013 01:15:28 +0100 Subject: [PATCH] ssh_config: Use ControlMaster auto. --- ssh_config | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.44.1