This may seem trivial, but when I disconnect from any host for which I had a previous connection, and the newer connection is using the previously stablished master control, ssh outputs this at disconnection: Connection to master closed. The thing is that I happen to have a server called master. So that looks quite ambiguous. I suggest changing that to the real server's name (as in the control socket name) or to something like "Connection to a master control closed" ...
Created attachment 1305 [details] Better error message This patch makes the error message: "Shared connection to HOSTNAME closed."
Comment on attachment 1305 [details] Better error message doh - ignore all but the ssh.c bits in that diff. Some other stuff I was working on got mixed in.
Comment on attachment 1305 [details] Better error message ok for the ssh.c bit. Rest of the diff looks unintentional.
patch applied - this will be in OpenSSH 4.7, thanks!
Close resolved bugs after release.