Announce: OpenSSH 5.6 released

Damien Miller djm at mindrot.org
Thu Aug 26 15:03:12 EST 2010


On Wed, 25 Aug 2010, Alan Barrett wrote:

> On Wed, 25 Aug 2010, Bert Wesarg wrote:
> > Particular for this new feature. But I miss an important feature. I
> > need a LocalCommand equivalent, which is only executed once per
> > session (i.e. by the multiplex master). I use this to mount file
> > systems from the remote per sshfs. My ControlCommand patch [1] does
> > have allow this. I could rework this path, so that it only has this
> > feature.
> 
> In the introduction to your patch, at
> <http://article.gmane.org/gmane.network.openssh.devel/16018>, you say:
> 
> " I don't want my interactive ssh shell session or git/svn sessions
> " to act as master processes, so that they may hang after I started a
> " second session.  So I would need to start a master process with 'ssh
> " -nNfM' first and than my interactive session. And I would like to
> " automate this.
> 
> Older versions of the ControlMaster patch (back when it was unofficial)
> did have that problem, but openssh-5.6 puts the master process into the
> background, so you should no longer hve any need to run "ssh -nNfM"
> first.

Yes, ssh in 5.6 also closes any lingering fds inherited from the parent
process. This should let a mux master started by ControlPersist linger
safely.

-d


More information about the openssh-unix-dev mailing list