nssh 0.23.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nssh/bin/nssh ADDED
Binary file
@@ -0,0 +1,40 @@
1
+ Metadata-Version: 2.4
2
+ Name: nssh
3
+ Version: 0.23.5
4
+ Summary: SSH reverse tunnel client - expose local services behind NAT to the internet
5
+ License-Expression: MIT
6
+ Keywords: ssh,tunnel,reverse-tunnel,nat,内网穿透
7
+ Classifier: Intended Audience :: Developers
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Operating System :: POSIX :: Linux
10
+ Classifier: Operating System :: MacOS :: MacOS X
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Requires-Python: >=3.8
13
+ Description-Content-Type: text/markdown
14
+
15
+ # NSSH
16
+
17
+ SSH 反向隧道客户端,用于将 NAT 或防火墙后的本地服务通过 SSH 服务器暴露到公网。
18
+
19
+ 本组件提供 Python 包分发(wheel),内部包装 Go 编译的 nssh 原生二进制,不包含 Python 实现的隧道逻辑。
20
+
21
+ ## 安装
22
+
23
+ ```bash
24
+ pip install nssh
25
+ ```
26
+
27
+ ## 使用
28
+
29
+ ```bash
30
+ # 密码认证
31
+ nssh -R 8080:localhost:80 user@your-server.com -p 22 --passwd your_password
32
+
33
+ # SSH 密钥认证
34
+ nssh -R 8080:localhost:80 user@your-server.com -p 22 -i ~/.ssh/id_rsa
35
+
36
+ # 守护进程模式
37
+ nssh --daemon -R 8080:localhost:80 user@your-server.com -p 22 --passwd your_password
38
+ ```
39
+
40
+ 更多用法见:https://github.com/Vrolist/nssh
@@ -0,0 +1,6 @@
1
+ nssh/bin/nssh,sha256=mO3kZrF2aBsxW-i3A2ZSXEP48EMDYBEJxlb2myBqIAA,7232512
2
+ nssh-0.23.5.dist-info/METADATA,sha256=bV3Z2uFItp8hh-74j-tDwxaNGBSDXsl8NOIaKA94Nz0,1178
3
+ nssh-0.23.5.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
4
+ nssh-0.23.5.dist-info/entry_points.txt,sha256=lVFnQrPnSW1Knw9YemmxWggWvdp0OLZ0WTRc7ym0Tmc,39
5
+ nssh-0.23.5.dist-info/top_level.txt,sha256=l_41NV0ZQMQiBtuq6cG97pdxx-d-f4MiEEH2J5zs-eI,5
6
+ nssh-0.23.5.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ nssh = nssh.cli:main
@@ -0,0 +1 @@
1
+ nssh