Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Python programming questtion



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/



Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org