Closed Bug 1750274 Opened 3 years ago Closed 3 years ago

not possible to connect to hg.mozilla.org with ssh key created based on documentation with MozillaBuild on Windows

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1261899

People

(Reporter: aryx, Unassigned)

Details

https://www.mozilla.org/en-US/about/governance/policies/commit/
links to
https://docs.github.com/en/authentication/connecting-to-github-with-ssh
for SSH key generation instructions.

That links to
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
which mentions the command ssh-keygen -t ed25519 -C "your_email@example.com" and will generate an id_ed25519 and id_ed25519.pub key pair of files. ssh hg.mozilla.org -l your@login.org will fail on Windows in the MozillaBuild environment because it only checks for id_rsa and id_dsa (shown with -vvvv appended to the command).

Do we have to link to other key generation instructions or is there an ssh update in MozillaBuild upcoming?

This will be resolved by the upcoming MozillaBuild 4.0, which

  • Includes a newer OpenSSH, but
  • Uses Windows' SSH by default

You can work around this by invoking ssh-keygen within MozillaBuild 3.4 without explicitly requesting a modern key type.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.