Repository navigation
Conversation
|
Not sure if it's relevant, but I see that we could share a lot of code between the current |
|
Thanks for the patch! Re: the overall feature: I'm +0, obviously an async option is a net plus, I just haven't had time to review how this is put together, nor to contrast asyncore against more modern options like (g)event(let) and friends. (Asyncore being stdlib is clearly a big point in its favor though. I just want to make sure that this is thought through fully.) Re: @clarete's point, I definitely agree that refactoring this into |
|
@grandrew I know this PR was opened a long time ago, but do you have any interest in updating it to use Python 3.4's @bitprophet FWIW, having support for asynchronous SSH interactions in Paramiko would be a big feature add for those of us who want interface to hundreds or thousands of servers at once. Are you still +0 on the overall feature? There is a new Python library out there called asyncssh that seems to offer exactly that, and a another library called parallel-ssh that makes Paramiko asynchronous via use of gevent (I think). I bet many people interested in these libraries would prefer it if Paramiko supported asynchronous SSH directly, given Paramiko's popularity and larger community. In fact, people interested in using Fabric (which I understand leverages Paramiko) against large groups of servers at once would probably stand to gain the most from asynchronous SSH support. |
|
FWIW @bitprophet I would be interested in picking up this work and redoing it with the new |
|
@bitprophet is there any decision in this part? Async SSH is much needed. :) |
|
@sivabudh Just haven't had the time to prioritize looking at it :( Suspect after 2.0 comes out there'll be more interest in moving forwards on fun stuff like this, hopefully. |
|
Soon end of 2017 today... Just sayin'... 😆 |
|
end of 2018, I am waiting for ..😂 |
|
any update on this PR? i think it's really needed feature. |
|
It's 2020 and this is still a good idea, guys |
|
@mindflay3r I dropped Python for this regard, Go works better. So long, Paramiko. |
I added SSHClientAsync class that is compatible with python asyncore. I already tested it on 1000+ simultaneous connections with very low memory consumption and totally asynchronous (no problems with unresponsive hosts, etc.).
The next task would be asyncore enabled Transport class to further enhance mass-interaction.