Skip to content

Commit d2fce95

Browse files
sourylimeclaude
andcommitted
README: give copy-paste commands for opening/copying the SSH pub key; note hotspot works
The '~/.ssh/id_ed25519.pub' path meant nothing to someone unfamiliar with the terminal or filesystem — they had no way to actually get to that file. Add per-OS one-liners to either open it in the default text editor or copy its contents straight to the clipboard, so there's no need to navigate anywhere. Also note in the 'Use it' step that a phone hotspot works (transfer stays local, no carrier data used) but a real router is faster/more stable for big drives. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 94503e8 commit d2fce95

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,23 @@ The comma only allows computers whose SSH key is registered to it via a GitHub a
102102
- **macOS / Linux:** `~/.ssh/id_ed25519.pub`
103103
- **Windows:** `%USERPROFILE%\.ssh\id_ed25519.pub` (typically
104104
`C:\Users\<your username>\.ssh\id_ed25519.pub`)
105-
2. **Add the `.pub` key to a GitHub account.** Open the `.pub` file in any text editor
106-
(Notepad, TextEdit, etc.) and copy its entire contents — it's one long line starting
107-
with `ssh-ed25519`. Go to
105+
106+
That `~` is just shorthand for your home folder, not a real folder to browse to —
107+
the easiest way to get the key is straight from the terminal. **To open it** in
108+
your OS's default text editor, paste one of these into the same terminal window and
109+
press Return:
110+
- **macOS:** `open -e ~/.ssh/id_ed25519.pub`
111+
- **Linux:** `xdg-open ~/.ssh/id_ed25519.pub`
112+
- **Windows (PowerShell):** `notepad $env:USERPROFILE\.ssh\id_ed25519.pub`
113+
114+
Or **skip opening it entirely** and copy the key straight to your clipboard:
115+
- **macOS:** `pbcopy < ~/.ssh/id_ed25519.pub`
116+
- **Linux:** `xclip -sel clip < ~/.ssh/id_ed25519.pub` (if that command isn't found,
117+
install it first: `sudo apt install xclip`, then run it again)
118+
- **Windows (PowerShell):** `Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | Set-Clipboard`
119+
2. **Add the `.pub` key to a GitHub account.** If you copied it to the clipboard above,
120+
just paste it. Otherwise, in the text editor that opened, select all and copy — it's
121+
one long line starting with `ssh-ed25519`. Go to
108122
[github.com/settings/keys](https://github.com/settings/keys)**New SSH key**,
109123
paste it in, and save. (Don't have a GitHub account? Making one is free at
110124
[github.com](https://github.com).)
@@ -118,6 +132,11 @@ The comma only allows computers whose SSH key is registered to it via a GitHub a
118132
drive and its size.
119133
3. Tick the ones you want (or **Download All**) and watch them transfer. Done!
120134

135+
> A **phone hotspot** works fine for this — the transfer stays local between the comma and
136+
> your computer, so it doesn't use any of your carrier data. A proper **WiFi router** is
137+
> still the better choice when you have one, since it's generally faster and more stable
138+
> for long or large drives.
139+
121140
---
122141

123142
# Advanced (environment variables)

0 commit comments

Comments
 (0)