Python Forum
Is this fast for Paramiko? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Networking (https://python-forum.io/forum-12.html)
+--- Thread: Is this fast for Paramiko? (/thread-2269.html)



Is this fast for Paramiko? - gohanzdad - Mar-03-2017

I have a script I'm using at work to pull firewall ACL's.  I'm using the Paramiko module, but I feel like it might be taking longer then it should.  I'm not sure though.  The largest ACL file I end up with after pulling the ACL's is 9.1MB and it takes around 12 minutes to complete the SSH session and write the output to a file.  Does anyone else feel like that could be faster?  Or does that sound like it's on par to everyone but me?


RE: Is this fast for Paramiko? - micseydel - Mar-03-2017

It's always hard to say without seeing code (and often hard to say even with seeing code).


RE: Is this fast for Paramiko? - camp0 - Mar-06-2017

From my point of view is a bit longer, but if you post the code it would help :)


RE: Is this fast for Paramiko? - gohanzdad - May-06-2017

This whole thing was a mess, but I got it worked out. I would have posted the code, but it's proprietary to a project at work (Boo). Anyway, I'm about done with the contingent position so it's not my problem anymore. :)