[Discuss] Python programming questtion
Jerry Feldman
gaf.linux at gmail.com
Sat Jul 4 18:09:22 EDT 2026
Thanks Rich and Kent. Both are excellent suggestions.
Jerry Feldman <gaf.linux at gmail.com>
Boston Linux and Unix
http://www.blu.org/
On Sat, Jul 4, 2026, 5:57 PM Rich Pieri <richard.pieri at gmail.com> wrote:
> On Sat, 4 Jul 2026 16:00:56 -0400
> Jerry Feldman <gaf.linux at gmail.com> wrote:
>
> > Thanks Rich. The issue is really paramiko. It is inherently not
> > threadsafe. But, there is a ThreadPoolExecutor module recommended by
> > paramiko.
>
> Then chuck paramiko into the rubbish bin. It's a disaster... and yet
> still better than any of the other native SSH wrappers. Just spawn the
> OpenSSH or Dropbear or whatever ssh executable with the subprocess
> module. Try to do it with a single connection if you can, because
> recent-ish OpenSSH servers implement connection rate limiting
> regardless of successful connections.
>
> --
> \m/ (--) \m/
> _______________________________________________
> Discuss mailing list
> Discuss at lists.blu.org
> https://lists.blu.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list