[patch] Threading support in ssh-agent

Nico Kadel-Garcia nkadel at gmail.com
Mon Mar 12 09:14:03 EST 2012


2012/3/11 Ángel González <keisial at gmail.com>

> On 11/03/12 19:57, Alexander V Alekseev wrote:
> >         Hi all!
> >
> >     I do not know openssh patch policy so I am just sending
> > the patch to the mailing list. Sorry for inconvenience.
> >     Ssh-agent seems to be too slow if you need to access thousands of
> > servers. This is a simple patch to enable threading in ssh2
> > authentication.
> > Patch adds "-p numthreads" option and defaults to the number of
> > processors.
> >
> >     I've tested it as I could, but unfortunately I could check it
> > only in Linux environment. Though it shouldn't break anything.
> >
> >         Bye. Alex.
>
> You concurrently access thousands of servers? O_O What's your use case?
> How does your threaded ssh-agent work with keys requiring confirmation?
> Would the user be flooded with a SSH_ASKPASS instance per thread?
>
>
I can think of several. Scripting of network wide surveys, rsnapshot over
large environments, and Nagios over   ssh plugins leap to mind.


More information about the openssh-unix-dev mailing list