vssh 4.0.0__tar.gz → 4.1.1__tar.gz
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.
- {vssh-4.0.0/vssh.egg-info → vssh-4.1.1}/PKG-INFO +13 -20
- {vssh-4.0.0 → vssh-4.1.1}/README.md +9 -10
- vssh-4.1.1/pyproject.toml +33 -0
- vssh-4.1.1/vssh/__init__.py +55 -0
- vssh-4.1.1/vssh/bin/vssh-darwin-amd64 +0 -0
- vssh-4.1.1/vssh/bin/vssh-darwin-arm64 +0 -0
- vssh-4.1.1/vssh/bin/vssh-linux-amd64 +0 -0
- vssh-4.1.1/vssh/bin/vssh-linux-arm64 +0 -0
- {vssh-4.0.0 → vssh-4.1.1/vssh.egg-info}/PKG-INFO +13 -20
- vssh-4.1.1/vssh.egg-info/SOURCES.txt +13 -0
- vssh-4.1.1/vssh.egg-info/entry_points.txt +2 -0
- vssh-4.1.1/vssh.egg-info/top_level.txt +1 -0
- vssh-4.0.0/pyproject.toml +0 -41
- vssh-4.0.0/vssh.egg-info/SOURCES.txt +0 -10
- vssh-4.0.0/vssh.egg-info/entry_points.txt +0 -6
- vssh-4.0.0/vssh.egg-info/top_level.txt +0 -2
- vssh-4.0.0/vssh.py +0 -4075
- vssh-4.0.0/vssh_mcp_server.py +0 -859
- {vssh-4.0.0 → vssh-4.1.1}/LICENSE +0 -0
- {vssh-4.0.0 → vssh-4.1.1}/setup.cfg +0 -0
- {vssh-4.0.0 → vssh-4.1.1}/vssh.egg-info/dependency_links.txt +0 -0
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vssh
|
|
3
|
-
Version: 4.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 4.1.1
|
|
4
|
+
Summary: vssh - installs Go binary
|
|
5
5
|
Author-email: MeshPOP <mpop@mpop.dev>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/meshpop/vssh
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Classifier: Development Status :: 4 - Beta
|
|
11
|
-
Classifier: Environment :: Console
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: Intended Audience :: System Administrators
|
|
8
|
+
Keywords: ssh,scp,remote
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
11
|
Classifier: Operating System :: POSIX :: Linux
|
|
16
12
|
Classifier: Operating System :: MacOS
|
|
17
|
-
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Topic :: System :: Networking
|
|
19
13
|
Requires-Python: >=3.8
|
|
20
14
|
Description-Content-Type: text/markdown
|
|
21
15
|
License-File: LICENSE
|
|
@@ -23,17 +17,16 @@ Dynamic: license-file
|
|
|
23
17
|
|
|
24
18
|
# vssh
|
|
25
19
|
|
|
26
|
-
> ⚠️ **DEPRECATED**: This Python package is no longer maintained. Please use the Go version instead:
|
|
27
|
-
> ```bash
|
|
28
|
-
> # macOS
|
|
29
|
-
> brew install meshpop/tap/vssh
|
|
30
|
-
>
|
|
31
|
-
> # Linux
|
|
32
|
-
> curl -sSL https://github.com/meshpop/vssh/releases/latest/download/vssh-linux-amd64 -o /usr/local/bin/vssh && chmod +x /usr/local/bin/vssh
|
|
33
|
-
> ```
|
|
34
|
-
> GitHub: https://github.com/meshpop/vssh
|
|
35
|
-
|
|
36
20
|
[](https://pypi.org/project/vssh/)
|
|
21
|
+
|
|
22
|
+
**SSH/SCP CLI - Go binary installer**
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pip install vssh
|
|
26
|
+
vssh # Auto-downloads Go binary on first run
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
This package automatically downloads and installs the native Go binary for your platform.
|
|
37
30
|
[](https://pypi.org/project/vssh/)
|
|
38
31
|
[](LICENSE)
|
|
39
32
|
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
# vssh
|
|
2
2
|
|
|
3
|
-
> ⚠️ **DEPRECATED**: This Python package is no longer maintained. Please use the Go version instead:
|
|
4
|
-
> ```bash
|
|
5
|
-
> # macOS
|
|
6
|
-
> brew install meshpop/tap/vssh
|
|
7
|
-
>
|
|
8
|
-
> # Linux
|
|
9
|
-
> curl -sSL https://github.com/meshpop/vssh/releases/latest/download/vssh-linux-amd64 -o /usr/local/bin/vssh && chmod +x /usr/local/bin/vssh
|
|
10
|
-
> ```
|
|
11
|
-
> GitHub: https://github.com/meshpop/vssh
|
|
12
|
-
|
|
13
3
|
[](https://pypi.org/project/vssh/)
|
|
4
|
+
|
|
5
|
+
**SSH/SCP CLI - Go binary installer**
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install vssh
|
|
9
|
+
vssh # Auto-downloads Go binary on first run
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
This package automatically downloads and installs the native Go binary for your platform.
|
|
14
13
|
[](https://pypi.org/project/vssh/)
|
|
15
14
|
[](LICENSE)
|
|
16
15
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "vssh"
|
|
7
|
+
version = "4.1.1"
|
|
8
|
+
description = "vssh - installs Go binary"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "MIT"}
|
|
11
|
+
requires-python = ">=3.8"
|
|
12
|
+
authors = [{name = "MeshPOP", email = "mpop@mpop.dev"}]
|
|
13
|
+
keywords = ["ssh", "scp", "remote"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"License :: OSI Approved :: MIT License",
|
|
17
|
+
"Operating System :: POSIX :: Linux",
|
|
18
|
+
"Operating System :: MacOS",
|
|
19
|
+
]
|
|
20
|
+
dependencies = []
|
|
21
|
+
|
|
22
|
+
[project.scripts]
|
|
23
|
+
vssh = "vssh:main"
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
Homepage = "https://github.com/meshpop/vssh"
|
|
27
|
+
|
|
28
|
+
[tool.setuptools.packages.find]
|
|
29
|
+
where = ["."]
|
|
30
|
+
include = ["vssh*"]
|
|
31
|
+
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
vssh = ["bin/vssh-*"]
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""vssh - Go binary wrapper for pip install"""
|
|
2
|
+
import os
|
|
3
|
+
import sys
|
|
4
|
+
import subprocess
|
|
5
|
+
import platform
|
|
6
|
+
import urllib.request
|
|
7
|
+
import stat
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
__version__ = "4.1.1"
|
|
11
|
+
|
|
12
|
+
def get_platform_name():
|
|
13
|
+
system = platform.system().lower()
|
|
14
|
+
machine = platform.machine().lower()
|
|
15
|
+
|
|
16
|
+
os_name = "darwin" if system == "darwin" else "linux"
|
|
17
|
+
arch = "arm64" if machine in ("arm64", "aarch64") else "amd64"
|
|
18
|
+
return f"vssh-{os_name}-{arch}"
|
|
19
|
+
|
|
20
|
+
def get_embedded_binary_path():
|
|
21
|
+
return Path(__file__).parent / "bin" / get_platform_name()
|
|
22
|
+
|
|
23
|
+
def get_download_url():
|
|
24
|
+
return f"https://github.com/meshpop/vssh/releases/latest/download/{get_platform_name()}"
|
|
25
|
+
|
|
26
|
+
def ensure_binary():
|
|
27
|
+
embedded = get_embedded_binary_path()
|
|
28
|
+
if embedded.exists():
|
|
29
|
+
embedded.chmod(embedded.stat().st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
|
|
30
|
+
return embedded
|
|
31
|
+
|
|
32
|
+
local_bin = Path.home() / ".local" / "bin"
|
|
33
|
+
binary_path = local_bin / "vssh"
|
|
34
|
+
if binary_path.exists():
|
|
35
|
+
return binary_path
|
|
36
|
+
binary_path.parent.mkdir(parents=True, exist_ok=True)
|
|
37
|
+
url = get_download_url()
|
|
38
|
+
print(f"Downloading vssh from {url}...")
|
|
39
|
+
urllib.request.urlretrieve(url, binary_path)
|
|
40
|
+
binary_path.chmod(binary_path.stat().st_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
|
|
41
|
+
print(f"Installed vssh to {binary_path}")
|
|
42
|
+
return binary_path
|
|
43
|
+
|
|
44
|
+
def main():
|
|
45
|
+
try:
|
|
46
|
+
binary_path = ensure_binary()
|
|
47
|
+
result = subprocess.run([str(binary_path)] + sys.argv[1:])
|
|
48
|
+
sys.exit(result.returncode)
|
|
49
|
+
except Exception as e:
|
|
50
|
+
print(f"Error: {e}", file=sys.stderr)
|
|
51
|
+
print("Install manually: https://github.com/meshpop/vssh", file=sys.stderr)
|
|
52
|
+
sys.exit(1)
|
|
53
|
+
|
|
54
|
+
if __name__ == "__main__":
|
|
55
|
+
main()
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vssh
|
|
3
|
-
Version: 4.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 4.1.1
|
|
4
|
+
Summary: vssh - installs Go binary
|
|
5
5
|
Author-email: MeshPOP <mpop@mpop.dev>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/meshpop/vssh
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Classifier: Development Status :: 4 - Beta
|
|
11
|
-
Classifier: Environment :: Console
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: Intended Audience :: System Administrators
|
|
8
|
+
Keywords: ssh,scp,remote
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
15
11
|
Classifier: Operating System :: POSIX :: Linux
|
|
16
12
|
Classifier: Operating System :: MacOS
|
|
17
|
-
Classifier: Programming Language :: Python :: 3
|
|
18
|
-
Classifier: Topic :: System :: Networking
|
|
19
13
|
Requires-Python: >=3.8
|
|
20
14
|
Description-Content-Type: text/markdown
|
|
21
15
|
License-File: LICENSE
|
|
@@ -23,17 +17,16 @@ Dynamic: license-file
|
|
|
23
17
|
|
|
24
18
|
# vssh
|
|
25
19
|
|
|
26
|
-
> ⚠️ **DEPRECATED**: This Python package is no longer maintained. Please use the Go version instead:
|
|
27
|
-
> ```bash
|
|
28
|
-
> # macOS
|
|
29
|
-
> brew install meshpop/tap/vssh
|
|
30
|
-
>
|
|
31
|
-
> # Linux
|
|
32
|
-
> curl -sSL https://github.com/meshpop/vssh/releases/latest/download/vssh-linux-amd64 -o /usr/local/bin/vssh && chmod +x /usr/local/bin/vssh
|
|
33
|
-
> ```
|
|
34
|
-
> GitHub: https://github.com/meshpop/vssh
|
|
35
|
-
|
|
36
20
|
[](https://pypi.org/project/vssh/)
|
|
21
|
+
|
|
22
|
+
**SSH/SCP CLI - Go binary installer**
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
pip install vssh
|
|
26
|
+
vssh # Auto-downloads Go binary on first run
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
This package automatically downloads and installs the native Go binary for your platform.
|
|
37
30
|
[](https://pypi.org/project/vssh/)
|
|
38
31
|
[](LICENSE)
|
|
39
32
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
vssh/__init__.py
|
|
5
|
+
vssh.egg-info/PKG-INFO
|
|
6
|
+
vssh.egg-info/SOURCES.txt
|
|
7
|
+
vssh.egg-info/dependency_links.txt
|
|
8
|
+
vssh.egg-info/entry_points.txt
|
|
9
|
+
vssh.egg-info/top_level.txt
|
|
10
|
+
vssh/bin/vssh-darwin-amd64
|
|
11
|
+
vssh/bin/vssh-darwin-arm64
|
|
12
|
+
vssh/bin/vssh-linux-amd64
|
|
13
|
+
vssh/bin/vssh-linux-arm64
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
vssh
|
vssh-4.0.0/pyproject.toml
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools>=61.0"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "vssh"
|
|
7
|
-
version = "4.0.0"
|
|
8
|
-
description = "[DEPRECATED - Use Go version] Secure SSH/SCP tool"
|
|
9
|
-
readme = "README.md"
|
|
10
|
-
license = {text = "MIT"}
|
|
11
|
-
requires-python = ">=3.8"
|
|
12
|
-
authors = [
|
|
13
|
-
{name = "MeshPOP", email = "mpop@mpop.dev"}
|
|
14
|
-
]
|
|
15
|
-
keywords = ["ssh", "scp", "tailscale", "p2p", "vpn", "mcp", "remote"]
|
|
16
|
-
classifiers = [
|
|
17
|
-
"Development Status :: 4 - Beta",
|
|
18
|
-
"Environment :: Console",
|
|
19
|
-
"Intended Audience :: Developers",
|
|
20
|
-
"Intended Audience :: System Administrators",
|
|
21
|
-
"License :: OSI Approved :: MIT License",
|
|
22
|
-
"Operating System :: POSIX :: Linux",
|
|
23
|
-
"Operating System :: MacOS",
|
|
24
|
-
"Programming Language :: Python :: 3",
|
|
25
|
-
"Topic :: System :: Networking",
|
|
26
|
-
]
|
|
27
|
-
dependencies = []
|
|
28
|
-
|
|
29
|
-
[project.scripts]
|
|
30
|
-
vssh = "vssh:main"
|
|
31
|
-
vssh-mcp = "vssh_mcp_server:main"
|
|
32
|
-
|
|
33
|
-
[project.urls]
|
|
34
|
-
Homepage = "https://github.com/meshpop/vssh"
|
|
35
|
-
Repository = "https://github.com/meshpop/vssh"
|
|
36
|
-
|
|
37
|
-
[project.entry-points."meshpop.mcp"]
|
|
38
|
-
vssh = "vssh_mcp_server"
|
|
39
|
-
|
|
40
|
-
[tool.setuptools]
|
|
41
|
-
py-modules = ["vssh", "vssh_mcp_server"]
|