Skip to main content

NSSH

SSH 反向隧道客户端,用于将 NAT 或防火墙后的本地服务通过 SSH 服务器暴露到公网。

本组件提供 Python 包分发(wheel),内部包装 Go 编译的 nssh 原生二进制,不包含 Python 实现的隧道逻辑。

安装

pip install nssh

使用

# 密码认证
nssh -R 8080:localhost:80 user@your-server.com -p 22 --passwd your_password

# SSH 密钥认证
nssh -R 8080:localhost:80 user@your-server.com -p 22 -i ~/.ssh/id_rsa

# 守护进程模式
nssh --daemon -R 8080:localhost:80 user@your-server.com -p 22 --passwd your_password

更多用法见:https://github.com/Vrolist/nssh

Metadata

Release files for nssh 0.25.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nssh 0.25.0
File Actions
nssh-0.25.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nssh-0.25.0-py3-none-win_amd64.whl
nssh-0.25.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for nssh-0.25.0-py3-none-manylinux_2_17_x86_64.whl
nssh-0.25.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for nssh-0.25.0-py3-none-manylinux_2_17_aarch64.whl
nssh-0.25.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for nssh-0.25.0-py3-none-macosx_11_0_arm64.whl
nssh-0.25.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for nssh-0.25.0-py3-none-macosx_10_9_x86_64.whl

Total release size: 14.3 MB

Release files / nssh-0.25.0-py3-none-win_amd64.whl

Download URL nssh-0.25.0-py3-none-win_amd64.whl
Size 3.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
511c3f377ba82995d972d06e49af69c06818290498753c7ccbe8e930fc6e018a
BLAKE2b-256 checksum
How to use checksums
12f80f58335079abe7f71744364277d83e9ca2ffba4310805202df100ca972ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / nssh-0.25.0-py3-none-manylinux_2_17_x86_64.whl

Download URL nssh-0.25.0-py3-none-manylinux_2_17_x86_64.whl
Size 2.9 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a021409c198eff137d2dd405406efcfa30d58b630c02bd94d7709b17e4743fdb
BLAKE2b-256 checksum
How to use checksums
2c91fab382f64faaab2d14e0a17d40abad29541be74934659db8a800bb2eed70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / nssh-0.25.0-py3-none-manylinux_2_17_aarch64.whl

Download URL nssh-0.25.0-py3-none-manylinux_2_17_aarch64.whl
Size 2.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c72bcedf151ce1f75b932e811f6f855d1450a97afbf1e5abf0ec163ec6966cc8
BLAKE2b-256 checksum
How to use checksums
06bfe23e8ab7e6e7d2ba3a5332e3dd7495a8eab68eaea4f7768adbd5862602f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / nssh-0.25.0-py3-none-macosx_11_0_arm64.whl

Download URL nssh-0.25.0-py3-none-macosx_11_0_arm64.whl
Size 2.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f40060291d968e43a434059928d078493f211ec7a491f68da26d2e50b05604bd
BLAKE2b-256 checksum
How to use checksums
4d0d71b8a5c0191f0bf67190decd2fa558ae8dc96cf84c2c662f7b2bd0a0d772
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / nssh-0.25.0-py3-none-macosx_10_9_x86_64.whl

Download URL nssh-0.25.0-py3-none-macosx_10_9_x86_64.whl
Size 3.0 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
91a211142f124c3a48cb4440c972251d3e30f974870f9cde049956ccf0c75896
BLAKE2b-256 checksum
How to use checksums
70df4b2010f32a9b16eada7222bf656935dd6a390e5008142fdae8d608916e02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Security for nssh 0.25.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.25.0 This release

5 release files No provenance

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