diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-02-25 21:58:10 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-02-25 21:58:10 +0000 |
commit | 982795ddb24fe965ff50c7a1f7851ffe74cbca39 (patch) | |
tree | 5d02e146532dc09683aba2114795fa264e92bf81 | |
parent | b277af9cb84c7f42c088f17ed0036bda6aeacdf4 (diff) | |
download | ReverseSSHTunnel-982795ddb24fe965ff50c7a1f7851ffe74cbca39.tar.gz ReverseSSHTunnel-982795ddb24fe965ff50c7a1f7851ffe74cbca39.zip |
fixed a few bugs
-rw-r--r-- | docker-compose.yml | 1 | ||||
-rw-r--r-- | tunnel.conf | 2 | ||||
-rw-r--r-- | tunnel.py | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 581f78c..8b51636 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,5 +8,6 @@ services: image: jwansek/reversesshtunnel network_mode: host volumes: + - /dev/tty:/dev/tty - ./vps.pem:/app/vps.pem - ./tunnel.conf:/app/tunnel.conf diff --git a/tunnel.conf b/tunnel.conf index b6a01b3..9945979 100644 --- a/tunnel.conf +++ b/tunnel.conf @@ -1,5 +1,5 @@ [server] -host = vps.eda.gay +host = eden@vps.eda.gay ssh_port = 2222 keyfile = vps.pem @@ -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")] |