I created a script in bash that creates a connection to a server list. After each connection, if it succeeds, I execute the command. Connections are under the loop.
I know that I use Plink. My script works, but it takes too much time when the server is unavailable. I ran into another problem when I wanted to contact the server through a proxy.
I have two goals:
Set the Plink timeout on the command line under Linux to make it shorter ("FATAL ERROR: Connection timed out" takes a long time to appear).
Configure the Plink proxy server to have the equivalent of the SOCKS5 name and PuTTY proxy.
I do not know if this is possible. If you have a better way, I will be happy to know about it.
Regards, Mageni
linux proxy timeout plink
Mageni
source share