Closed Bug 473166 Opened 17 years ago Closed 17 years ago

SSH access for honzab.moz@firemni.cz not working

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mayhemer, Unassigned)

Details

In bug 464730 I was given a committer rights. In bug 470148 I asked for key update because of lost password. Now the key is not accepted by the server. My ~/.ssh/config: Host hg.mozilla.org User honzab.moz@firemni.cz PubkeyAuthentication yes RSAAuthentication no IdentityFile ~/Documents/mozilla/Key/honzabambas.ppk hg outgoing asks for passphrase for the correct key, I'm 100% sure the passphrase is correct, I can open the key with puttygen. This is the private key, generated as SSH 2 RSA key by puttygen (XXXXX are replacements): PuTTY-User-Key-File-2: ssh-rsa Encryption: aes256-cbc Comment: rsa-key-20081218 Public-Lines: 4 AAAAB3NzaC1yc2EAAAABJQAAAIBo4c0AtK0sc6+ng9pZyZnjxi3iyJElN5h4lh0M +t5ELpRnvzf+FdwT7qdqU3ZTW9St0S/G6I5qc9sXl1KkLLZ4zBE/4IebLKd73N5a 4iEZjQ5YC9YlxD1rQH2YCE6RXnB2EN+TCdabXm/Aka+gRsA/QgVAaL/AU5FYVpNL HKAI2Q== Private-Lines: 8 XXXXXXXXXXXXXXXXX Private-MAC: XXXXXXXXXXXXXXXXX This is command and verbose output of ssh I try to connect manually, on MacOSX 10.4: $ ssh -v -2 -l honzab.moz@firemni.cz hg.mozilla.org OpenSSH_5.1p1, OpenSSL 0.9.7l 28 Sep 2006 debug1: Reading configuration data /Users/XXXXXX/.ssh/config debug1: Applying options for hg.mozilla.org debug1: Reading configuration data /etc/ssh_config debug1: Connecting to hg.mozilla.org [63.245.208.189] port 22. debug1: Connection established. debug1: identity file /Users/XXXXXX/Documents/mozilla/Key/honzabambas.ppk type -1 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_5.1 debug1: Miscellaneous failure No credentials cache found debug1: Miscellaneous failure No credentials cache found 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 /Users/XXXXXX/.ssh/known_hosts:1 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,gssapi-with-mic debug1: Next authentication method: gssapi-with-mic debug1: Miscellaneous failure No credentials cache found debug1: Miscellaneous failure No credentials cache found debug1: Next authentication method: publickey debug1: Trying private key: /Users/XXXXXX/Documents/mozilla/Key/honzabambas.ppk debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/Users/XXXXXX/Documents/mozilla/Key/honzabambas.ppk': debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/Users/XXXXXX/Documents/mozilla/Key/honzabambas.ppk': debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Enter passphrase for key '/Users/XXXXXX/Documents/mozilla/Key/honzabambas.ppk': Connection with PuTTy works, I just get "No interactive shells allowed here!", seems like OpenSSH doesn't work with ppk generated by putty?
(In reply to comment #0) > Connection with PuTTy works, I just get "No interactive shells allowed here!", > seems like OpenSSH doesn't work with ppk generated by putty? Correct, you need to convert PuTTY's PPK file to OpenSSH's format. PuTTYgen can do that for you.
Assignee: marcia → server-ops
Component: Account Request: Hg → Server Operations
OS: Windows XP → All
QA Contact: hg-acct-req → mrz
Hardware: x86 → All
Summary: SSL access for honzab.moz@firemni.cz not working → SSH access for honzab.moz@firemni.cz not working
Thanks! It helped. Closing as invalid.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.