how to speed up OpenSSH command execution (and a speed analysis)

Alan Barrett apb at cequrux.com
Mon Mar 26 04:32:39 EST 2012


On Sun, 25 Mar 2012, Christoph Anton Mitterer wrote:
>- How to spawn that first connection?
>  I'd prefer that ssh has another mode, e.g. ControlMaster autoswpan, 
>  which makes about the following:
>  When the first time a "normal" command is executed, e.g.
>    ssh example.host.org check_load
>  it actually does a
>    ssh -f -N host
>  and uses that one to do the
>    ssh example.host.org check_load

"ControlMaster auto" is supposed to do that.

>  Ideally, there would be a way to timeout those automatically spawned
>  master sessions. E.g. when not used for a day, stop it.

"ControlPersist 24h" is supposed to do that.

--apb (Alan Barrett)


More information about the openssh-unix-dev mailing list