summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-09-22 17:51:03 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-09-22 17:51:03 +0300
commit8a9f5261904face76f45949fa06a53bd6b3882fb (patch)
tree7b640f5f64b3f3226cdd038f5dc0e36dd73c2e42 /src
parent5927e3cbd1df5dea83ebdc853d02cf272a319713 (diff)
ssh_tunnels_config_util: support ssh_port option
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ssh_tunnels_config_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssh_tunnels_config_util.py b/src/ssh_tunnels_config_util.py
index 986f3ea..3b2ba6e 100755
--- a/src/ssh_tunnels_config_util.py
+++ b/src/ssh_tunnels_config_util.py
@@ -26,7 +26,7 @@ if __name__ == '__main__':
target_host = f'{network_prefix}.{config[tun_host]["ipv4"]}'
buf.append(f'-R 127.0.0.1:{http_bind_port}:{target_host}:{config[tun_host]["http_port"]}')
- buf.append(f'-R 127.0.0.1:{ssh_bind_port}:{target_host}:22')
+ buf.append(f'-R 127.0.0.1:{ssh_bind_port}:{target_host}:{config[tun_host]["ssh_port"]}')
i += 1