Ask Your Question
0

ssh to review.openstack.org failing with permission denied (publickey)

asked 2014-02-21 07:39:39 -0500

h4ck3rm1k3 gravatar image

Hi there, I am a new user on the review server. I signed up to work on the git-review code. My first review ( https://review.openstack.org/#/c/73876/6 ) needs to be updated, but I cannot connect anymore to the server.

mdupont@mdupont-Aspire-7750G:~/experiments/git-review$ ssh -v   h4ck3rm1k3@review.openstack.org
OpenSSH_6.4, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /mnt/data/home/mdupont/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to review.openstack.org [198.101.231.251] port 22.
debug1: Connection established.
debug1: identity file /mnt/data/home/mdupont/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /mnt/data/home/mdupont/.ssh/id_rsa-cert type -1
debug1: identity file /mnt/data/home/mdupont/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: identity file /mnt/data/home/mdupont/.ssh/id_dsa-cert type -1
debug1: identity file /mnt/data/home/mdupont/.ssh/id_ecdsa type -1
debug1: identity file /mnt/data/home/mdupont/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.4p1 Debian-2
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1.1
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1.1 pat OpenSSH_5*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 0a:a7:dc:3d:42:cf:28:c8:1e:44:64:da:d2:05:db:e4
debug1: Host 'review.openstack.org' is known and matches the RSA host key.
debug1: Found key in /mnt/data/home/mdupont/.ssh/known_hosts:162
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
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 RSA public key: /mnt/data/home/mdupont/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering DSA public key: /mnt/data/home/mdupont/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /mnt/data/home/mdupont/.ssh/id_ecdsa
debug1: No more authentication methods to try.
Permission denied (publickey).

and :

mdupont@mdupont-Aspire-7750G:~/experiments/git-review$
git review -l Cannot fetch review
information from gerrit The following
command failed with exit code 255
    "ssh -x  review.openstack.org gerrit query --format=JSON
project:openstack-infra/git-review
status:open"

I also tried :

mdupont@mdupont-Aspire-7750G:~/experiments/git-review$
ssh review.openstack.org Permission
denied (publickey).
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-21 09:52:47 -0500

darragh-oreilly gravatar image

I'm not sure ssh like that is supposed to work. I get the same and git-review works fine. Try git review -s. See here and here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-02-21 07:39:39 -0500

Seen: 857 times

Last updated: Feb 21 '14