ssh-keyup 1.0.0__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.
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.4
2
+ Name: ssh-keyup
3
+ Version: 1.0.0
4
+ Summary: Passwordless SSH setup for Raspberry Pi, NVIDIA Jetson, or any Linux device
5
+ Home-page: https://github.com/Kurokesu/ssh-keyup
6
+ Author: UAB Kurokesu
7
+ License: GPL-3.0-or-later
8
+ Project-URL: Repository, https://github.com/Kurokesu/ssh-keyup
9
+ Keywords: ssh,ssh-keys,ssh-config,ssh-copy-id,passwordless-ssh,raspberry-pi,rpi,jetson,automation,vscode,remote-ssh
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Topic :: System :: Systems Administration
16
+ Requires-Python: >=3.8
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Dynamic: license-file
20
+
21
+ # ssh-keyup
22
+
23
+ ![PyPI](https://img.shields.io/pypi/v/ssh-keyup)
24
+ ![Python](https://img.shields.io/badge/python-3.8%2B-brightgreen)
25
+ ![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux-blue)
26
+
27
+ Set up passwordless SSH on Raspberry Pi, NVIDIA Jetson or any Linux device in one command.
28
+
29
+ Tired of juggling `ssh-keygen`, `ssh-copy-id` (missing on Windows) and `~/.ssh/config` edits every time you set up a new device? `ssh-keyup` handles all three in a single interactive session.
30
+
31
+ ![ssh-keyup demo](demo.gif)
32
+
33
+ ## Quickstart
34
+
35
+ Install globally with pip:
36
+
37
+ ```bash
38
+ pip install ssh-keyup
39
+
40
+ ssh-keyup # ready to use anywhere
41
+ ```
42
+
43
+ Or run directly without installing:
44
+
45
+ ```bash
46
+ git clone https://github.com/Kurokesu/ssh-keyup.git
47
+ cd ssh-keyup
48
+ python ssh_keyup.py # Windows
49
+ python3 ssh_keyup.py # Linux
50
+ ```
51
+
52
+ Follow the prompts, enter the remote password once and you're done.
53
+
54
+ SSH from terminal:
55
+
56
+ ```bash
57
+ ssh mypi # no password, ever again
58
+ ```
59
+
60
+ Or open [VSCode Remote - SSH](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh), your `~/.ssh/config` is already set up. Press `Ctrl+Shift+P`, select **Remote-SSH: Connect to Host**, pick your alias and get a full IDE on your remote device, no password:
61
+
62
+ ![VSCode Remote SSH](demo-vscode.gif)
63
+
64
+ Skip the prompts by passing arguments:
65
+
66
+ ```bash
67
+ ssh-keyup --host 192.168.1.23 --user pi --alias mypi
68
+ ```
69
+
70
+ Or configure a whole fleet:
71
+
72
+ ```bash
73
+ for host in 192.168.1.10 192.168.1.11 192.168.1.12; do
74
+ ssh-keyup --host $host
75
+ done
76
+ ```
77
+
78
+ ## Why?
79
+
80
+ ```bash
81
+ # without ssh-keyup (repeat for every new device)
82
+ ssh-keygen -t ed25519 -N "" -f ~/.ssh/id_ed25519_rpi5
83
+ scp ~/.ssh/id_ed25519_rpi5.pub trinity@192.168.1.23:~/
84
+ ssh trinity@192.168.1.23 "mkdir -p ~/.ssh && chmod 700 ~/.ssh"
85
+ ssh trinity@192.168.1.23 "cat ~/id_ed25519_rpi5.pub >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys && rm ~/id_ed25519_rpi5.pub"
86
+ nano ~/.ssh/config # add Host entry manually
87
+ ...
88
+
89
+ # with ssh-keyup
90
+ ssh-keyup
91
+ ```
92
+
93
+ ## Prerequisites
94
+
95
+ **Python 3.8+** and OpenSSH tools (`ssh`, `ssh-keygen`) must be in PATH.
96
+
97
+ - **Windows 10/11**: Install Python from [python.org](https://www.python.org/downloads/) or the Microsoft Store. OpenSSH Client is included via Settings > Optional Features or ships with [Git for Windows](https://gitforwindows.org).
98
+ - **Linux**: `sudo apt install python3 openssh-client` (usually pre-installed).
99
+
100
+ ## Features
101
+
102
+ - Generates a per-host **Ed25519** key pair (`~/.ssh/id_ed25519_<alias>`)
103
+ - Deploys public key to remote host in a **single SSH session**, only one password prompt
104
+ - **Never touches your password**. `ssh-keyup` only pipes the public key and **SSH** handles password authentication directly through its own terminal
105
+ - Adds a named entry to `~/.ssh/config`, works instantly with `ssh <alias>` and VSCode Remote SSH
106
+ - Detects and recovers from **host key mismatches** (common after reflashing)
107
+ - Handles re-runs gracefully: reuses existing keys or offers regeneration, detects duplicate config entries
108
+ - Works with any device reachable over SSH: Raspberry Pi, NVIDIA Jetson, Orange Pi, VMs, servers
109
+ - **Zero dependencies**, Python 3.8+ standard library only
110
+ - Installs via `pip` or runs as a single script
@@ -0,0 +1,7 @@
1
+ ssh_keyup.py,sha256=vS_9wjoHXy_69wlM-PEr8gKdyjA8SyMY9hj5khhVih0,23587
2
+ ssh_keyup-1.0.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
3
+ ssh_keyup-1.0.0.dist-info/METADATA,sha256=bc5WKMp6d16fBK7J7C-lKq-Yj2ooi4FekhqR8yZjdyM,3997
4
+ ssh_keyup-1.0.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
5
+ ssh_keyup-1.0.0.dist-info/entry_points.txt,sha256=kpmPAEHWDTcnQ-JbtOp6i_CvUiXePdFZgP6jPjlltWE,45
6
+ ssh_keyup-1.0.0.dist-info/top_level.txt,sha256=GbNlia6tWWiUViCC2AP7EB3lGrEXR7M2IE60MFQFfKE,10
7
+ ssh_keyup-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (83.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ssh-keyup = ssh_keyup:main