Due to the fact that autossh uses the environment variable AUTOSSH_PORT=22094 and the script itself uses SSH_listener_port=3334 (both fixed for all selections), the script will error out on the first failure (such as a connection refused) or on the second "success" due to the ports already being bound.
either each instance of autossh in the script SSH_egress_buster.sh should have it's own set of ports, or the plugui should be changed to a radio-button selector instead of a multi-selector.
version 1.1.2
Update: i have re-written the script to support multiple egress ports, but I'm not sure where or how to put it. please advise.
Due to the fact that autossh uses the environment variable AUTOSSH_PORT=22094 and the script itself uses SSH_listener_port=3334 (both fixed for all selections), the script will error out on the first failure (such as a connection refused) or on the second "success" due to the ports already being bound.
either each instance of autossh in the script SSH_egress_buster.sh should have it's own set of ports, or the plugui should be changed to a radio-button selector instead of a multi-selector.
version 1.1.2
Update: i have re-written the script to support multiple egress ports, but I'm not sure where or how to put it. please advise.