SSH Forward Daemon
Project description
SSH port forwarder daemon
Daemon
Install forwarderd[daemon] and run forwarderd.__main__ any suitable way
Example for Linux, will create systemd service "forwarderd":
mkdir forwarderd
cd forwarderd
python3 -m venv . # python version should be 3.7 or higher
source bin/activate
python3 -m pip install pip --upgrade
python3 -m pip install pip forwarderd[daemon]
python3 -m forwarderd --systemd-install
systemctl start forwarderd
Usage
Install forwarderd, then request tunnel spawn such way
from forwarderd import spawn_tunnel, SpawnTunnelRequest
spawn_resp = await spawn_tunnel(
SpawnTunnelRequest(
ssh_addr='server.ip.addr:port', # port is optional, 22 by default
ssh_user='user',
ssh_identity_file='/root/.ssh/forward_key', # must be accessible for daemon
remote_addr='localhost:6969',
)
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
forwarderd-5.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forwarderd-5.tar.gz.
File metadata
- Download URL: forwarderd-5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.27.1 setuptools/60.5.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ea4b47b595a00c4cd15b6b45d46e512019a54d3b6d63e71ea416664f8250d2c
|
|
| MD5 |
823c8106e841feb37e7f4b29dfce103c
|
|
| BLAKE2b-256 |
23cd8e2c99b2c69dfadc6ae6abf998d73215dd40e51c46516bfef002add09db8
|
File details
Details for the file forwarderd-5-py3-none-any.whl.
File metadata
- Download URL: forwarderd-5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.27.1 setuptools/60.5.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd950cf69763ff1a55663f8d82c62dd9b38f824780cbb5b4a7530d36f2b16bf4
|
|
| MD5 |
cc8addb16bee2aa3cf90f7418ce852f3
|
|
| BLAKE2b-256 |
a56c5bacebb2a270510f5adb8d78ad8d41b065520266a0b843a6ddfcea2fd7d3
|