aboutsummaryrefslogtreecommitdiffstats
path: root/tunnel.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-02-25 21:58:10 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-02-25 21:58:10 +0000
commit982795ddb24fe965ff50c7a1f7851ffe74cbca39 (patch)
tree5d02e146532dc09683aba2114795fa264e92bf81 /tunnel.py
parentb277af9cb84c7f42c088f17ed0036bda6aeacdf4 (diff)
downloadReverseSSHTunnel-982795ddb24fe965ff50c7a1f7851ffe74cbca39.tar.gz
ReverseSSHTunnel-982795ddb24fe965ff50c7a1f7851ffe74cbca39.zip
fixed a few bugs
Diffstat (limited to 'tunnel.py')
-rw-r--r--tunnel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tunnel.py b/tunnel.py
index 161030f..dce4ffc 100644
--- a/tunnel.py
+++ b/tunnel.py
@@ -4,7 +4,7 @@ import subprocess
CONFIG = configparser.ConfigParser()
CONFIG.read("tunnel.conf")
-cmd = ["autossh", "-nNTv"]
+cmd = ["autossh", "-nNTv", "-o", "StrictHostKeyChecking=no"]
if CONFIG.has_option("server", "ssh_port"):
cmd += ["-p", CONFIG.get("server", "ssh_port")]