vapnik spaknik <[email protected]> writes: > Oops, I forgot to include the "-M" flag in the previous post. That > ensures the ssh connection is a master connection, and I get the same > problem.
Look at output of the following: pkill ssh ssh -S '~/.ssh/socket/%C' -N -M -f <host> & echo $! pgrep -a ssh Then look at the output of: pkill ssh ssh -S '~/.ssh/socket/%C' -N -M <host> & echo $! pgrep -a ssh Passing '-f' does make 'ssh' fork. Not using '-f' does not make 'ssh' fork. (At least the current 'ssh' on my machine. I do not know whether OpenSSH in any way guarantees that behavior in the future.)
