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
Metadata
Release files for nssh 0.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| nssh-0.27.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for nssh-0.27.0-py3-none-win_amd64.whl |
| nssh-0.27.0-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for nssh-0.27.0-py3-none-manylinux_2_17_x86_64.whl |
| nssh-0.27.0-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for nssh-0.27.0-py3-none-manylinux_2_17_aarch64.whl |
| nssh-0.27.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for nssh-0.27.0-py3-none-macosx_11_0_arm64.whl |
| nssh-0.27.0-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details for nssh-0.27.0-py3-none-macosx_10_9_x86_64.whl |
Total release size: 14.3 MB
Release files / nssh-0.27.0-py3-none-win_amd64.whl
| Download URL | nssh-0.27.0-py3-none-win_amd64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fbaf101358ff79c82d53a7efb8e149c917e6b4dfa1bf6085ed3aa357b699284f
|
|
BLAKE2b-256 checksum How to use checksums |
ea1c482fd644525818efe9a11f25da085b90d0c29ed03e97e66350f55b22a7e4
|
| 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.27.0-py3-none-manylinux_2_17_x86_64.whl
| Download URL | nssh-0.27.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 |
e8fef6f34cffde41c17fc949076ae1b91ca5255baa3a4966d4fabfda7843949a
|
|
BLAKE2b-256 checksum How to use checksums |
fec3ea5850d3e4ae21cc19b0ae0cff0d0b7e55dfb633b0683feb59c92a6c4ad5
|
| 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.27.0-py3-none-manylinux_2_17_aarch64.whl
| Download URL | nssh-0.27.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 |
ea0af8bdee7ee8e3f658b945fa57108b6af6d79a6143eb2ae7b20eb5e5cbdcb1
|
|
BLAKE2b-256 checksum How to use checksums |
daa0e82f3d6795bde8425eca067a7f7b2f0cbf67ccefa829bb5fe36383bd70d5
|
| 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.27.0-py3-none-macosx_11_0_arm64.whl
| Download URL | nssh-0.27.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 |
7f52b02740dfcd116c26074473855fa085d9732738b9f845a70f3c1a0d78f3a7
|
|
BLAKE2b-256 checksum How to use checksums |
34c55b0be584d83e91fb64778df551346a335ffd215f814dc96194662ac17ce2
|
| 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.27.0-py3-none-macosx_10_9_x86_64.whl
| Download URL | nssh-0.27.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 |
d932cf7238765e965eaaeb44302684104dd9c4a4a87894fbbbfbc1fe6ae42e79
|
|
BLAKE2b-256 checksum How to use checksums |
248df9e5196bc6fec811bc496e4bc266804114d3f3e6773c08fad9d0e7bedc36
|
| 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.27.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.