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

Total release size: 14.3 MB

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

Download URL nssh-0.24.1-py3-none-win_amd64.whl
Size 3.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
57b912ef32697332977bace664bfa9c0d7ffd01fe1dec04d3f6d6a4a5ec00bd9
BLAKE2b-256 checksum
How to use checksums
7eb5cba0ff24c85a3d8521de72a436f07bd72dc4dd6ad114cea99b8ffb1b4139
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.24.1-py3-none-manylinux_2_17_x86_64.whl

Download URL nssh-0.24.1-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
b06b29e4737911d08abd0c469376b923f518c35d59749d18e8c06a5fcf7c0541
BLAKE2b-256 checksum
How to use checksums
70df4bf13932e0e2387ba38e17868fe63f4cb7e723127857e3b2a8e5aa37736c
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.24.1-py3-none-manylinux_2_17_aarch64.whl

Download URL nssh-0.24.1-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
9ad76a5e34636081eb7f961930bf6c9beb27b2f6115ce39a6231eb55d1116a41
BLAKE2b-256 checksum
How to use checksums
4650b4bae464d19f0d633141e459948992e350cbdbe9e0d432d3c77f08453440
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.24.1-py3-none-macosx_11_0_arm64.whl

Download URL nssh-0.24.1-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
d3599af91112b5558d0113b472144a3a52c2fce846038f9403f97503c48f6fa7
BLAKE2b-256 checksum
How to use checksums
ef36fb18fde9224000ab942815d7cb9950b5f3fdfd2316a772a591c253a0ea01
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.24.1-py3-none-macosx_10_9_x86_64.whl

Download URL nssh-0.24.1-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
3cfc485242446bf282b7cf5837157069e2e6ff32c50ee20b5053ed6b9ac1ff79
BLAKE2b-256 checksum
How to use checksums
2defa2acf947d8c0c9b51aa20f5c6871712a6c4f2f1c89ca004d2b0549521848
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.24.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.24.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