I have made a script in bash which create a connection to a list of server. After each connection, if it succeed, i execute a command. Connections are under a loop.
For know i use Plink. My script works, but it takes too much time when the server is unreachable. I encountered another issue when i wanted to reach a server through a proxy.
I have two goals :
Configure the timeout of Plink in command line under Linux to make it shorter ("FATAL ERROR: Connection timed out" takes to much time to appear).
Configure the proxy configuration of Plink to have the equivalent of the SOCKS5 and proxy hostname of PuTTY.
I don't know if it is possible. If you have a better way, i'll be glad to know it
regards, Mageni