Closed
Bug 906554
Opened 11 years ago
Closed 11 years ago
Get "Permission denied (publickey)" when pushing to try
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hchang, Assigned: ashish)
Details
Attachments
(3 files)
I got an error message when pushing to try server: "Permission denied (publickey)". I tried "ssh -vvv hg.mozilla.org" but ended up with the same error. Please find the error log and my ~/.ssh/config in the attachments. Thanks.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
This is the resolved bug in which I got the level 1 commit access: https://bugzilla.mozilla.org/show_bug.cgi?id=896950
Assignee | ||
Comment 3•11 years ago
|
||
Oddly your key was missing in LDAP. I've gone ahead and added it from Bug 896950, please retry pushing now.
Assignee: server-ops → ashish
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•11 years ago
|
||
Removed ~/.ssh/known_hosts and tried "ssh -vvv hg.mozilla.org" but got the same error message >"< Do I have to anything else or provide any other diagnostic log?
Reporter | ||
Comment 5•11 years ago
|
||
Could anyone help? I still get error message like before. Thanks
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•11 years ago
|
||
can you paste the output of ssh -vv ? I see the following on the server side : Aug 19 18:41:45 hgssh1 sshd[32195]: Failed publickey for hchang@mozilla.com Aug 19 18:58:55 hgssh1 sshd[8180]: Failed publickey for hchang@mozilla.com
Reporter | ||
Comment 7•11 years ago
|
||
(In reply to Shyam Mani [:fox2mike] from comment #6) > can you paste the output of ssh -vv ? > > I see the following on the server side : > > Aug 19 18:41:45 hgssh1 sshd[32195]: Failed publickey for hchang@mozilla.com > Aug 19 18:58:55 hgssh1 sshd[8180]: Failed publickey for hchang@mozilla.com Please find in the attachment. Thanks!
Assignee | ||
Comment 8•11 years ago
|
||
If I try to verify your public key, it returns an error: $ ssh-keygen -l -f hchang.pub key_from_blob: remaining bytes in key blob 268 key_read: type mismatch: encoding error line 1 too long: ssh-rsa AAAAB4NzaC1yc2EAAAADAQABAAABAQDp... hchang.pub is not a public key file. Ideally it should print out something like this: $ ssh-keygen -l -f ashish.pub 2048 03:95:09:4e:ea:e0:ef:59:fc:3c:e6:69:60:6c:48:8d ashish@host-3-185.mv.mozilla.com (RSA) Can you generate a new public key and attach it to this bug? Thanks!
Status: REOPENED → ASSIGNED
Reporter | ||
Comment 9•11 years ago
|
||
Reporter | ||
Comment 10•11 years ago
|
||
(In reply to Ashish Vijayaram [:ashish] from comment #8) > If I try to verify your public key, it returns an error: > > $ ssh-keygen -l -f hchang.pub > key_from_blob: remaining bytes in key blob 268 > key_read: type mismatch: encoding error > line 1 too long: ssh-rsa AAAAB4NzaC1yc2EAAAADAQABAAABAQDp... > hchang.pub is not a public key file. > > Ideally it should print out something like this: > > $ ssh-keygen -l -f ashish.pub > 2048 03:95:09:4e:ea:e0:ef:59:fc:3c:e6:69:60:6c:48:8d > ashish@host-3-185.mv.mozilla.com (RSA) > > Can you generate a new public key and attach it to this bug? Thanks! I attached my new public key and it has been verified by "ssh-keygen -l -f". Thanks.
Assignee | ||
Comment 11•11 years ago
|
||
$ ssh-keygen -v -l -f hchang.pub 2048 12:92:fa:2b:a1:b0:dd:8d:3d:37:aa:44:8d:65:e8:bb hchang@mozilla.com (RSA) +--[ RSA 2048]----+ | | | o | | + + | | o * . | | . + o S | |. .o . . | |.+ o++ | |o o.oo+ o | | .E..+ . | +-----------------+ Perfect! I've updated your key in LDAP, please give it about 30-40 mins for a puppet run. Thanks!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 12•11 years ago
|
||
Many thanks! I will try it out later on.
Reporter | ||
Comment 13•11 years ago
|
||
Verified success! Thanks
Updated•9 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•