Discover Packages
github.com/iamd3vil/mole
command
module
Version:
v0.0.0-...-ec5aa92
Opens a new window with list of versions in this module.
Published: Feb 16, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Mole
Mole is a tool for creating SSH Tunnels using a declarative config. It can create multiple SSH tunnels.
Mole expects a config.yml
in the same directory or /etc/mole/
or $HOME/.mole/
directories. Configuration can be written in either yaml
or json
, mole can handle both formats.
Example Config
tunnels:
- ssh_address: 103.230.194.142:22
local_address: 127.0.0.1:4446
remote_address: 127.0.0.1:4445
ssh_user: root
ssh_auth_method: password
ssh_password: super-secret
- ssh_address: 103.230.194.143:22
local_address: 127.0.0.1:6379
remote_address: 127.0.0.1:6379
ssh_user: root
ssh_auth_method: password
ssh_password: super-secret
Config fields
ssh_address
: Address of the remote server which facilitates tunneling
local_address
: Local Ip and Port for the tunnel
remote_address
: Remote IP and Port for the tunnel
ssh_user
: Remote SSH user
ssh_auth_method
: Can be either key
or password
. Incase of password
, ssh_password
is mandatory. Default is key
ssh_password
: Password for SSH
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.