diff options
-rwxr-xr-x | localautossh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localautossh b/localautossh index f49580c..e9d849d 100755 --- a/localautossh +++ b/localautossh @@ -55,5 +55,5 @@ fi #AUTOSSH_PATH=/usr/local/bin/ssh export AUTOSSH_POLL AUTOSSH_LOGFILE AUTOSSH_DEBUG AUTOSSH_PATH AUTOSSH_GATETIME AUTOSSH_PORT -autossh -2 -f -N -M 20000 -R $remoteport:localhost:22 "$remotehost" +autossh -2 -f -o BatchMode=yes -N -M 20000 -R $remoteport:localhost:22 "$remotehost" info "Remote help is on!" "Connection tunnel from $remotehost into this machine is now active." |