Hi again in this topic,
Even paramiko support the timeout in connect() function - that's of course used in the script of our topic
ssh.connect(target, port=port, username=user, password=passwd,
timeout=timeo, pkey=None, allow_agent=False)
But when i tried to execute it, it hangs badly even I set "timeout" parameter already ; especially when the script detect a host with the response code like this
74.42.179.47|admin|admin > session terminated due to idle timeout (600 seconds)
184.12.232.241|admin|admin > session terminated due to idle timeout (600 seconds)
200.105.185.201|admin|admin > session terminated due to idle timeout (600 seconds)
Could anyone give me a suggestion how to skip these hosts?(since "timeout" doesn't work)