I need a clone on hg.mercurial.org I can push to

RESOLVED FIXED

Status

Infrastructure & Operations Graveyard
Account Requests
--
major
RESOLVED FIXED
10 years ago
2 years ago

People

(Reporter: jimb, Assigned: aravind)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
I need a clone on hg.mercurial.org I can push to to share my work with other developers, as described on http://developer.mozilla.org/en/docs/Publishing_Mercurial_Clones.

I don't yet have CVS commit access; the only thing I need permission to do is create a public repository of my own.

I'll attach my public SSH key.
(Reporter)

Comment 1

10 years ago
Created attachment 307275 [details]
Public SSH key for jimb@mozilla.com

Updated

10 years ago
Assignee: server-ops → aravind
(Assignee)

Comment 2

10 years ago
Please send in a cvs contributors form (we still need that, even for mercurial access).

Marcia:  Please comment here once you get the form.
(Reporter)

Comment 3

10 years ago
I've faxed a CVS contributor form to Marcia.
(Reporter)

Comment 4

10 years ago
I've put the form in the mail, as well.
CVS form received.
(Assignee)

Comment 6

10 years ago
Granted Hg access to your account (jblandy@mozilla.com).

You should now be able to create repos for your projects.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
(Reporter)

Comment 7

10 years ago
That seems to reject the key I attached to this bug:

$ ssh -v jblandy@hg.mozilla.org clone jsuni
OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /home/jimb/.ssh/config
debug1: Applying options for hg.mozilla.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to hg.mozilla.org [63.245.208.188] port 22.
debug1: Connection established.
debug1: identity file /home/jimb/.ssh/identity type -1
debug1: identity file /home/jimb/.ssh/id_rsa type -1
debug1: identity file /home/jimb/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5
debug1: match: OpenSSH_4.5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.6p1 Debian-5ubuntu0.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'hg.mozilla.org' is known and matches the RSA host key.
debug1: Found key in /home/jimb/.ssh/known_hosts:6
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/jimb/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/jimb/.ssh/identity
debug1: Trying private key: /home/jimb/.ssh/id_rsa
debug1: No more authentication methods to try.
Permission denied (publickey).
$ 
(Assignee)

Comment 8

10 years ago
(In reply to comment #7)
> That seems to reject the key I attached to this bug:
> 
> $ ssh -v jblandy@hg.mozilla.org clone jsuni

Right, you are using your short name as the login.  Use your entire e-mail address (or setup your environment per the link in the description).
(Reporter)

Comment 9

10 years ago
I'm sure this is PEBKAC, but I'm still in the dark:

$ ssh-add -L
ssh-dss AAAAB3NzaC1kc3MAAACBAOVbUdCm20QXFS22TY+BFHM0qYnyMTngVz/KDkYEKt1t8WL6e28sYN+SiJ5Jw32Skp9vExqDSHsfvHpsCFkR6lN9RbStr4amgqSl+9Q11aaUtFFWq5mNszjnuTzFMBWRlbOMk60G4vKWSlnUCuKdNAAdNJUkUvS00+EssbAa1Qd9AAAAFQDpWU5MkaqksZAwO4RfR8IVLA7GYQAAAIA4q1wVxZzx+McnbRKj1CIFP6aR679hdkEUc1srrta9cRtPv28OgtF+DqfKRFfmV16lrb9/GLl3WCLDpY4Op4D/rwDE4vGyHsItqCA2hE5MNmnaSazYhZ1AAYqKBeeukB9DWPTk2+9Pifb9d87RB9hhn4NSXogJTGzVlN6b5zRoyQAAAIBPwYstIGaThI/iuFcPXw/XLIeaeVinHNw7yx2XFH3vW/YfDxxbsrgF390rFxelyw/+VqsSMAOPVbF6HOM87ToL3DbihQPi2AQrH/ags+XzpLbHGt/8KT0h/7I3vdZkcGC388V6BdvDw7zWjMPSE/p7BjWLsUb4Yuz8wPW+IwTpyA== /home/jimb/.ssh/id_dsa
$ cat ~/.ssh/config
Host hg.mozilla.org
User jblandy@mozilla.com
$ ssh -v hg.mozilla.org clone jsuni
OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /home/jimb/.ssh/config
debug1: Applying options for hg.mozilla.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to hg.mozilla.org [63.245.208.188] port 22.
debug1: Connection established.
debug1: identity file /home/jimb/.ssh/identity type -1
debug1: identity file /home/jimb/.ssh/id_rsa type -1
debug1: identity file /home/jimb/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5
debug1: match: OpenSSH_4.5 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.6p1 Debian-5ubuntu0.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'hg.mozilla.org' is known and matches the RSA host key.
debug1: Found key in /home/jimb/.ssh/known_hosts:6
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/jimb/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/jimb/.ssh/identity
debug1: Trying private key: /home/jimb/.ssh/id_rsa
debug1: No more authentication methods to try.
Permission denied (publickey).
$ 

Comment 10

10 years ago
I see these attempts in the logs:
Mar  4 10:11:12 dm-svn01 sshd[22813]: Invalid user jblandy from 75.164.192.74
Mar  6 14:03:22 dm-svn01 sshd[25682]: Invalid user jblandy from 76.27.210.184
Mar  6 14:03:28 dm-svn01 sshd[25685]: Invalid user jblandy from 76.27.210.184
Mar  6 14:04:15 dm-svn01 sshd[25690]: Invalid user jblandy from 76.27.210.184
Mar  6 14:04:38 dm-svn01 sshd[25703]: Invalid user jblandy from 76.27.210.184
Mar  6 14:05:32 dm-svn01 sshd[25738]: Invalid user jblandy from 76.27.210.184
Mar  6 18:19:08 dm-svn01 sshd[29015]: Invalid user jimblandy%mozilla.com from 76.27.210.184
Mar  6 18:19:26 dm-svn01 sshd[29019]: Invalid user jblandy%mozilla.com from 76.27.210.184
Mar  6 18:24:07 dm-svn01 sshd[29061]: Invalid user jimblandy@mozilla.com from 76.27.210.184
Mar  6 18:24:25 dm-svn01 sshd[29068]: Invalid user jimblandy@mozilla.com from 76.27.210.184
(Reporter)

Comment 11

10 years ago
I've just done the below; could you see what the logs have to say about these?

$ ssh-add -L
ssh-dss AAAAB3NzaC1kc3MAAACBAOVbUdCm20QXFS22TY+BFHM0qYnyMTngVz/KDkYEKt1t8WL6e28sYN+SiJ5Jw32Skp9vExqDSHsfvHpsCFkR6lN9RbStr4amgqSl+9Q11aaUtFFWq5mNszjnuTzFMBWRlbOMk60G4vKWSlnUCuKdNAAdNJUkUvS00+EssbAa1Qd9AAAAFQDpWU5MkaqksZAwO4RfR8IVLA7GYQAAAIA4q1wVxZzx+McnbRKj1CIFP6aR679hdkEUc1srrta9cRtPv28OgtF+DqfKRFfmV16lrb9/GLl3WCLDpY4Op4D/rwDE4vGyHsItqCA2hE5MNmnaSazYhZ1AAYqKBeeukB9DWPTk2+9Pifb9d87RB9hhn4NSXogJTGzVlN6b5zRoyQAAAIBPwYstIGaThI/iuFcPXw/XLIeaeVinHNw7yx2XFH3vW/YfDxxbsrgF390rFxelyw/+VqsSMAOPVbF6HOM87ToL3DbihQPi2AQrH/ags+XzpLbHGt/8KT0h/7I3vdZkcGC388V6BdvDw7zWjMPSE/p7BjWLsUb4Yuz8wPW+IwTpyA== /home/jimb/.ssh/id_dsa
$ cat ~/.ssh/config
Host hg.mozilla.org
User jblandy@mozilla.com
$ ssh hg.mozilla.org clone jsuni
Permission denied (publickey).
$ ssh -l jblandy@mozilla.com hg.mozilla.org clone jsuni
Permission denied (publickey).
$ 

Comment 12

10 years ago
Strange, I don't see any hits for today.  What IP are you getting for hg.mozilla.org?
(Reporter)

Comment 13

10 years ago
$ host hg.mozilla.org
hg.mozilla.org is an alias for dm-hg01.mozilla.org.
dm-hg01.mozilla.org has address 63.245.208.188
$ 
(Reporter)

Comment 14

10 years ago
And the last line below shows that SSH is using that IP too.

$ ssh -v hg.mozilla.org clone jsuni
OpenSSH_4.6p1 Debian-5ubuntu0.1, OpenSSL 0.9.8e 23 Feb 2007
debug1: Reading configuration data /home/jimb/.ssh/config
debug1: Applying options for hg.mozilla.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to hg.mozilla.org [63.245.208.188] port 22.

Updated

10 years ago
Attachment #307275 - Attachment mime type: application/octet-stream → text/plain

Comment 15

10 years ago
The public key in your LDAP account was different than the one on this bug.  Try now.
(Reporter)

Comment 16

10 years ago
All okay --- thanks!
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.