Skip to main content

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 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',
    )
)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

forwarderd-4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

forwarderd-4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file forwarderd-4.tar.gz.

File metadata

  • Download URL: forwarderd-4.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

Hashes for forwarderd-4.tar.gz
Algorithm Hash digest
SHA256 8c13fac1b41b472837d80fff8bf6b7728f75070cb470eb3d03c879c445122cf0
MD5 462bf8a4df1e16ea07d7f057684da231
BLAKE2b-256 e2460bbec00fd4e39c4cb6d794c16b0b30c50a3e6cc8d308b7dfb7bd3bfce992

See more details on using hashes here.

File details

Details for the file forwarderd-4-py3-none-any.whl.

File metadata

  • Download URL: forwarderd-4-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

Hashes for forwarderd-4-py3-none-any.whl
Algorithm Hash digest
SHA256 caf5bd0adf88becedc723c5b09a28397a4654dce6ceac64325fa2fde6abd786d
MD5 20a08df34cf8a3148fa90a8d78fb1627
BLAKE2b-256 19b623ba77f8ce68354ef6b820be8cfcf51214d03f85221418fa009e32f0ed9b

See more details on using hashes here.

Release history Release notifications | RSS feed

13

2 files

12

2 files

11

2 files

10

2 files

9

2 files

8

1 file

7

2 files

6

2 files

5

2 files

This release

4 This release

2 files

3

2 files

2

2 files

1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page