feat(ssh): make a key in the browser, and how to connect from each app #16

Merged
thelion merged 7 commits from thelion/ssh-keygen into main 2026-11-08 21:35:10 +00:00 AGit
Owner

The SSH key page can now make an Ed25519 key for people who don't have
one: the browser makes it, they download the private half (a .ppk for
PuTTY and WinSCP, an OpenSSH file for ssh, FileZilla and Cyberduck), and
only then can the public half go on their shell. The private key never
leaves the page. Both files match what ssh-keygen and puttygen 0.85 write.

"Need a new key?" becomes "Connect from your computer": step-by-step tabs
for Windows, PuTTY, WinSCP and macOS/Linux with their username and host.
A note at the top points people who just want a terminal at the Console.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

The SSH key page can now make an Ed25519 key for people who don't have one: the browser makes it, they download the private half (a .ppk for PuTTY and WinSCP, an OpenSSH file for ssh, FileZilla and Cyberduck), and only then can the public half go on their shell. The private key never leaves the page. Both files match what ssh-keygen and puttygen 0.85 write. "Need a new key?" becomes "Connect from your computer": step-by-step tabs for Windows, PuTTY, WinSCP and macOS/Linux with their username and host. A note at the top points people who just want a terminal at the Console. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(ssh): make a key in the browser, and how to connect from each app
Some checks failed
CI / test (pull_request) Failing after 2m22s
CI / release (pull_request) Failing after 1s
4717f9f66c
The SSH key page can now make an Ed25519 key for people who don't have
one: the browser makes it, they download the private half (a .ppk for
PuTTY and WinSCP, an OpenSSH file for ssh, FileZilla and Cyberduck), and
only then can the public half go on their shell. The private key never
leaves the page. Both files match what ssh-keygen and puttygen 0.85 write.

"Need a new key?" becomes "Connect from your computer": step-by-step tabs
for Windows, PuTTY, WinSCP and macOS/Linux with their username and host.
A note at the top points people who just want a terminal at the Console.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(ssh): keep long commands inside the card on phones
Some checks failed
CI / test (pull_request) Failing after 2m24s
CI / release (pull_request) Failing after 0s
47e7d377d9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds English, Español, Bahasa Indonesia, Bahasa Melayu, Português
(Brasil), Français, Deutsch, 日本語 and Italiano to sign-in, the
navigation, "no shell yet", the overview and the SSH key page (with the
key maker and connect help). Other pages stay in English for now.

The language is the visitor's saved choice, else their browser's (pt-PT
picks pt-BR), else English, and a Language menu sits in the header (in
the drawer on phones) and on the sign-in page. Non-English pages say the
translation is automatic and to report mistakes in #ircforever.

No new dependencies: i18n.js holds the dictionaries and plain helpers,
i18n.svelte.js the current language. Translated text with markup goes
through richText, which escapes everything and lets back only <b>,
<code> and links the page supplies. Tests check every language has the
English keys, vars and markup.

Also stops the connect help overflowing on phones (long commands
stretched its card wider than the screen).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds Romanian to the portal's languages and the Language menu; browsers
asking for ro-RO get it. Like the others, it's an automatic draft.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(i18n): a Language page in the sidebar instead of a menu in the header
Some checks failed
CI / test (pull_request) Failing after 2m10s
CI / release (pull_request) Failing after 0s
1e2b4c2edf
Each language is listed in its own name and in the page's current
language, so anyone can find theirs. The sidebar link shows the current
language. The sign-in page keeps its menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test(e2e): the connect help, the key maker and the Language page
Some checks failed
CI / test (pull_request) Failing after 3m8s
CI / release (pull_request) Failing after 0s
88363b1a7c
The old test looked for the "Need a new key?" commands, which moved into
"Make a key yourself instead".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore(web): rebuild web/build
Some checks failed
CI / test (pull_request) Successful in 14m40s
CI / release (pull_request) Failing after 0s
12c3103ff9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ircforever/shells-dashboard!16
No description provided.