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

Total release size: 16.2 MB

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

Download URL nssh-0.30.1-py3-none-win_amd64.whl
Size 3.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
41893c9b8eecaf3bf28935b504c4b8d214e2f54a82f97fc4373a2a33c97d5ddc
BLAKE2b-256 checksum
How to use checksums
0a9f9e0c210748e2bb84b2d162aef02b8525ce00a6f514d77730ba3eaf58fa86
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.30.1-py3-none-manylinux_2_17_x86_64.whl

Download URL nssh-0.30.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
84ae93cfb08c722a051449ed5c21ca846906e16394a259b1586adf34eb2f63ae
BLAKE2b-256 checksum
How to use checksums
94f5151d76b4ffb55b25af3876ffbffac3abf3e105cc12f5d4ed09825e534079
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.30.1-py3-none-manylinux_2_17_aarch64.whl

Download URL nssh-0.30.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
a2098435a4faee5815c1353c29f8070a2dd0a804cabbe49812a86155f3f2d1f6
BLAKE2b-256 checksum
How to use checksums
937616f6fc558357bedba39ca1bec49dc7b57af4cda25d453913865a731ead33
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.30.1-py3-none-macosx_11_0_arm64.whl

Download URL nssh-0.30.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
1cec30fde10c23a5e6aa3ecc1a57f5f9a821b72ea2a57297a002b00bf3ff8aeb
BLAKE2b-256 checksum
How to use checksums
132fe6f3b9385bee4f8b261da87aeb5b7cfb074d333317dc9ebf8c3e2066d734
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.30.1-py3-none-macosx_10_9_x86_64.whl

Download URL nssh-0.30.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
8f3eb0dbe8a9ac5062241dd5378df6ba7bb3eef3ac8b2405339afe3b5f8657b3
BLAKE2b-256 checksum
How to use checksums
b7fce5f6abfa71c9b6015c06251109f67e17f5d73fa4e60271cf0613983935c0
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.30.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.30.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