Python - Telnet or SSH multiple devices

285 Views Asked by At

I am currently using telnetlib and paramiko to connect to a server and gather some configuration from it. It took around 30 minutes to gather configuration of 50 servers. But now I need to connect around 50k servers. So by this method this is going to take a much more longer time.

I have read about pssh but in my case im not able to use it because some of the servers are slow to respond and im not able to connect to them. Can anyone please suggest any alternative to get this done in short span of time ?

0

There are 0 best solutions below