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.31.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.31.0
File Actions
nssh-0.31.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nssh-0.31.0-py3-none-win_amd64.whl
nssh-0.31.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for nssh-0.31.0-py3-none-manylinux_2_17_x86_64.whl
nssh-0.31.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for nssh-0.31.0-py3-none-manylinux_2_17_aarch64.whl
nssh-0.31.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for nssh-0.31.0-py3-none-macosx_11_0_arm64.whl
nssh-0.31.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for nssh-0.31.0-py3-none-macosx_10_9_x86_64.whl

Total release size: 16.3 MB

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

Download URL nssh-0.31.0-py3-none-win_amd64.whl
Size 3.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
165e6ebb3af5433c750e6ef9a2e48e5d51e77fd16e220f3932ac6be86d062252
BLAKE2b-256 checksum
How to use checksums
80b240ddc5fd11c69b9c53736e6fcc260a5dbe4464becfa8edebb655a0837803
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.31.0-py3-none-manylinux_2_17_x86_64.whl

Download URL nssh-0.31.0-py3-none-manylinux_2_17_x86_64.whl
Size 3.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8efc9613aef1ca06290d2918718cea20a22815b7525a497b3f5dd98c62db38d7
BLAKE2b-256 checksum
How to use checksums
2cb5ae6f922ecd152b428750c6a4c21ac714a3858d7e5935c1f2d978eac2a898
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.31.0-py3-none-manylinux_2_17_aarch64.whl

Download URL nssh-0.31.0-py3-none-manylinux_2_17_aarch64.whl
Size 3.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
ca5fe0c1d55503a24b02fbddbbb43c6a4df01ae575eb9b76070dee652e67f7a7
BLAKE2b-256 checksum
How to use checksums
804f424d102c74dbc9a31a441ce3d2c4457d1c50d1b8588463f24d1283b73c98
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.31.0-py3-none-macosx_11_0_arm64.whl

Download URL nssh-0.31.0-py3-none-macosx_11_0_arm64.whl
Size 3.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f0db11f66276771820d1e7b2d8b47cd68dd74b8b12d1bb51992876ba66bdc952
BLAKE2b-256 checksum
How to use checksums
202e273769f73f6a05815e911e3cab7e4c36eb2c892f521f54ffdff47ec3ea81
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.31.0-py3-none-macosx_10_9_x86_64.whl

Download URL nssh-0.31.0-py3-none-macosx_10_9_x86_64.whl
Size 3.4 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
126de145236ff338d8b8cb17f82f14e519e3275b5bfe67e85aa7f977b790c48a
BLAKE2b-256 checksum
How to use checksums
fb651d59625e7fad1eb343b61059eea305f70b805fdb2428510b97749ca4e0e6
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.31.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.31.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