wingkitlee0 / tunneler

Simple script for SSH tunneling in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tunneler

Simple python script for SSH tunneling (linux only)

Intro

This script is useful for setting up a ssh tunnel to a remote machine, e.g., where you run a jupyter notebook.

Usage

usage: tunneler [-h] [--port PORT] [-u U] [-ip IP]

optional arguments:
  -h, --help            show this help message and exit
  --port PORT, -p PORT  port number to tunnel
  -u U                  username
  -ip IP                ip address or a text file with the ip address.
                        Default: read from TUNNELER_DEFAULT_IP env. variable

IP text file

The IP text file is a simple file with the IP at the first line.

About

Simple script for SSH tunneling in Python


Languages

Language:Python 100.0%