Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 409 Bytes

File metadata and controls

21 lines (14 loc) · 409 Bytes

SSH Tunnel Builder

用來建立 SSH Tunnel 系統服務的小工具,建立的服務會在開機時建立 SSH Tunnel 並在斷線時自動重連。

Supported Init Systems

  • Systemd
  • Launchd

Usage

建立 SSH Tunnel 服務:

python3 tunnel.py make <tunnel_name> <ssh_args>

例如:

python3 tunnel.py make mariadb remote_user@remote_host -R 3306:localhost:3306