Plink timeout and proxy for Linux

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

+8
linux proxy timeout plink
source share

No one has answered this question yet.

See related questions:

4800
How to find all files containing specific text in Linux?
1773
How to symbolize a file in Linux?
1710
What is the difference between a proxy server and a reverse proxy server?
1528
How to change echo output color on Linux
1324
How do I request Yes / No / Cancel input in a Linux shell script?
1101
How to copy a file folder to another folder on Unix / Linux?
1101
How to install chmod for a folder and all its subfolders and files in Linux Ubuntu Terminal?
880
Getting git to work with a proxy server
804
How to send a Redux action with a timeout?
0
From Windows, use Expect and plink to execute standard commands on a remote Linux machine

All Articles