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.1

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

Total release size: 16.3 MB

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

Download URL nssh-0.31.1-py3-none-win_amd64.whl
Size 3.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1fee8063ea32b55f21b1dc41c496f1bd9ffb10ef4370a5ca0eab0ac5f6bb77e5
BLAKE2b-256 checksum
How to use checksums
211eadb0e77ceb499b0fb6654badf95e5c10c6a49a40d6a283d7db02a06ac4c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

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

Download URL nssh-0.31.1-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
3ec5845572f8bf8ef0f913c1a68b905a018ff917ed523896cc2f096853b8aec5
BLAKE2b-256 checksum
How to use checksums
6d651a40337685402f7706f5f0fbbd1e186c0daf6c4d5f3ff36036b8445e4d43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

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

Download URL nssh-0.31.1-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
b9a0102c7ffc65cb116c943fdbf795975c629c064c8742f7ddf048e7eb4226d6
BLAKE2b-256 checksum
How to use checksums
7eb6329b5c489f7d49eab5d13502813b893da859c3f75a915368aa0d07d7befb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

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

Download URL nssh-0.31.1-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
a773447d52a1ad9c13e1ab540a5ffce0030ca814cb82ace1a2420f6b3ef777d3
BLAKE2b-256 checksum
How to use checksums
973bf317daf6cd6c1fee312d3d850d3881274a7c13bf76f3c784c71dfe27d057
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

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

Download URL nssh-0.31.1-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
0883462f5a1c8a599f558b015fbbddfde9a9fccdc3cabb1c5bdf76e50851299e
BLAKE2b-256 checksum
How to use checksums
5e10249f4bf133eab9a550c5c0f517be1a9eeda7955aed59a1ad1335c8dc8e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for nssh 0.31.1

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.1 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