Closed Bug 1000760 Opened 10 years ago Closed 10 years ago

Commit Access (Level 1) for Ricky Chien

Categories

(mozilla.org :: Repository Account Requests, task)

Other
Other
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rickychien, Assigned: rbryce)

Details

Attachments

(1 file, 3 obsolete files)

Attached file SSH Key (obsolete) —
      No description provided.
Summary: Commit Access (Level 1) for Ricky Chien : Try server access → Commit Access (Level 1) for Ricky Chien
Form received. Over to server-ops for L1 access.
Assignee: mozillamarcia.knous → server-ops
+LDAP_acct, +hg, +scm_level_1, +ssh_key 
Please allow 30 minutes for your account to be live.
Assignee: server-ops → rbryce
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Hi Rick Bryce,

Could you please tell me what's the email address you set for me. Because I used the ricky060709@gmail.com in ssh config and always got a "Permission denied (publickey)" message when trying "ssh hg.mozilla.org". Thanks!
Flags: needinfo?(rbryce)
That is the email address your account is configured with. I updated the comment field on your ssh key to match you email address.  Please try again in 45 minutes.
Oops, still doesn't work. Do I have something wrong in config?

my ~/.ssh/config:

Host hg.mozilla.org
     User ricky060709@gmail.com
     IdentityFile ~/.ssh/id_rsa

~/.hgrc:

[paths]
try = ssh://hg.mozilla.org/try
   
[extensions]
mq =
   
[ui]
username = ricky060709@gmail.com
Ricky,

I'm not sure what the issue is here.  Make sure you read these 2 docs, if you haven't already.
Next time you try to access hg.m.o add the '-vvv' flag and paste the output here.  Also, check the permissions on your key file. Your private key (id_rsa) should be 600.

https://wiki.mozilla.org/Build:TryServer
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_do_I_check_stuff_in.3f
Flags: needinfo?(rbryce)
Thanks for information! But it doesn't work again. :(

My id_rsa is set to 600 and '-vvv' flag shows following:

debug1: Reading configuration data /home/ricky/.ssh/config
debug1: /home/ricky/.ssh/config line 1: Applying options for hg.mozilla.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to hg.mozilla.org [63.245.215.25] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/ricky/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/ricky/.ssh/id_rsa type -1
debug1: identity file /home/ricky/.ssh/id_rsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.4
debug1: match: OpenSSH_5.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.4
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "hg.mozilla.org" from file "/home/ricky/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/ricky/.ssh/known_hosts:10
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 135/256
debug2: bits set: 503/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA fa:e8:5a:cc:de:02:e0:c7:6e:ff:14:92:90:b9:12:be
debug3: load_hostkeys: loading entries for host "hg.mozilla.org" from file "/home/ricky/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/ricky/.ssh/known_hosts:10
debug3: load_hostkeys: loaded 1 keys
debug3: load_hostkeys: loading entries for host "63.245.215.25" from file "/home/ricky/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/ricky/.ssh/known_hosts:11
debug3: load_hostkeys: loaded 1 keys
debug1: Host 'hg.mozilla.org' is known and matches the RSA host key.
debug1: Found key in /home/ricky/.ssh/known_hosts:10
debug2: bits set: 503/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/ricky/.ssh/id_rsa ((nil))
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/ricky/.ssh/id_rsa
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey: RSA 37:93:42:61:41:30:66:15:58:1d:92:43:da:5a:61:51
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey).
Oh, I found in my ssh key attachment that contain redundant whitespaces on each line. (Maybe it was generate by Bugzilla)

Could you help me check this whitespaces and remove if they exist? thanks!
Attached file ssh key (remove whitespaces) (obsolete) —
Attachment #8411632 - Attachment is obsolete: true
Hi Rick Bryce, could you help me update new ssh key in comment 10? Thanks!
Flags: needinfo?(rbryce)
ssh key updated for ldap account ricky060709@gmail.com, please allow 45 minutes for propagation.
Flags: needinfo?(rbryce)
Attached file New ssh-key (obsolete) —
Sorry for disturb you again. I forgot that I had updated my ssh-key.
Flags: needinfo?(rbryce)
new key updated, 45 minutes until live.
Flags: needinfo?(rbryce)
Attached file SSH Key
Oops! I have no idea why the key "ssh-rsa AAAAB3.." became "ssh-rsa AAAAB4..".

I'm very sure this time is correct!!
Attachment #8429969 - Attachment is obsolete: true
Attachment #8499356 - Attachment is obsolete: true
Flags: needinfo?(rbryce)
Comment on attachment 8499368 [details]
SSH Key

updated.
Flags: needinfo?(rbryce)
Thanks! It works!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: