0

When not using connection sharing the following will return immediately after launching a remote sleep process:

$ ssh -f host "nohup sleep 10"

However if I specify that I want to use connection sharing in ~/.ssh/config like this:

host *
  ControlMaster auto
  ControlPath ~/.ssh/ssh_mux_%h_%p_%r

The same command will block for 10 seconds until the sleep exits. Why is this?

samwise
  • 1
  • 1

0 Answers0