aboutsummaryrefslogtreecommitdiffstats
path: root/tunnel.py
diff options
context:
space:
mode:
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")]