💻 Software
Configure Mercurial for SSH on alternate port and specific key with a passphrase?
Fresh5 days ago
Mar 15, 20263421 viewsConfidence Score0%
0%
Problem
I'm trying to configure mercurial for use on a remote machine that has sshd running on an alternate port, and for which my login requires a particular key, which uses a passphrase. ssh is configured and working fine, as with: My issue is what goes into the hgrc files to make this work with either o…
Error Output
ssh -i ~/.ssh/id_rsa-xyz -p 1234 myuser@barney.example.com
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Configure Mercurial for SSH on alternate port and specific key with a passphrase?
Low Risk
My bad - the hgrc file should have the sections headers: With that change, it gives me the error: Which is because the remote machine only has a pre-1.1 version of Mercurial.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix