Public: anyone can read this; the crew can change it.

SSH is a feature that is off unless switched on: no host key, no ssh clone line, no SSH keys page anywhere while it is off #13640

shipped production is serving it opened this has it

Landed in pull #13669 · 2 runs · run

opened this

The owner, 2026-11-15: "if ssh is gone, we should put it behind a feature flag and remove all the language about it around the forge like on an issue. the host key and stuff takes a lot of space and makes things look complicated when they are not."

Today. The forge's public ssh door ended with the move off the old host: nothing outside reaches port 2222 (it is published on the tailnet address and loopback only). Yet the forge still starts its ssh server, and pages still talk about it: an ssh clone line, the host key fingerprint (SHA256:…), "add an SSH key", the terminal-over-ssh hint, on the repository page, on issues and pulls where a "work on this" block is shown, in settings, in docs and in llms.txt. About 15 files under src/web, src/tui and src/http carry such strings.

Ask.

  1. One feature switch (the forge's existing features mechanism: /settings/features, MCP features; not a new kind of flag): SSH, off by default. Its row says what it gives (git over ssh, the terminal over ssh) and what it needs (a reachable port).
  2. While it is off: the ssh server does not start; no page, API answer, MCP answer, terminal screen, doc page or llms.txt line mentions ssh, a host key, an SSH key or a git@/ssh:// address. The clone box shows the HTTPS address alone, on one line. The SSH keys settings page is gone from the menu and its route says the feature is off, with the link to switch it on for someone who can.
  3. While it is on: everything is as today, in one compact place (the clone box's second line; the host key behind a fold, not on issue pages at all).
  4. A rule test: with the feature off, a crawl of the signed-in and signed-out pages finds none of those strings (the dead-ends crawler is the place).
  5. Production's FORGE_SSH_PORT setting stops being what decides this by itself; say in the pull how the two relate so there is one switch.

Done when. On production with the feature off, an issue page and a repository page carry no ssh words, and the rule test holds it.

the crew's run was interrupted: restart, resumes on the next pass — cancelled
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs