Cannot access try branch via Hg SSH or via mach try
Categories
(Developer Infrastructure :: General, defect)
Tracking
(Not tracked)
People
(Reporter: dev, Assigned: jlin)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Enroll my SSH key with Mozilla LDAP (at login.mozilla.org)
Attempt to ssh with my SSH key via:
ssh dev@hg.mozilla.org
hg push ssh://dev@hg.mozilla.org/try
mach try empty
"dev" is my username on LDPA
Actual results:
dev@hg.mozilla.org: Permission denied (publickey).
Expected results:
It should have allowed me to push to the try server.
Bug 1652493 was my L1 access request, which was approved.
Comment 2•6 years ago
|
||
Hey Jonathan,
Do you know who can help with this issue?
Dev seems to have an issue with his ssh key.
Thanks
| Assignee | ||
Comment 3•6 years ago
|
||
Hi, it seems your access rights are up to date, I believe the issue is that the username on ldap and for try is the full email address.
you can try testing with
ssh dev@devksingh.com@hg.mozilla.org
and this should output the access rights that the system thinks you have
full details of setup are at
https://mozilla-version-control-tools.readthedocs.io/en/latest/hgmozilla/auth.html
(the docs suggest putting the full email in the ssh configuration file so that you don' have to specify the full username all the time)
| Assignee | ||
Comment 4•6 years ago
|
||
one other thing: it seems the ssh public key in your account ends with "dsingh@CentaurusRidge" - which does not match the key filed in Bug 1652493
can you confirm which key is the one you are using? I can update it for you to ensure we have the right one.
| Assignee | ||
Updated•6 years ago
|
Sorry, I had just tried creating a temporary key just in case my key was the issue. I'll try again with the old key today after changing it with LDAP.
Works now! So sorry for the bother. Although, I think it may be helpful to show at login.mozilla.com that the username is the full email.
Description
•