Languages

Menu
Sites
Language
Unable to SSH for Gerrit Access. Getting Connection refused.

Hi,

I have followed:

https://source.tizen.org/documentation/developer-guide/environment-setup

to SSH for Gerrit Access. But I am getting the error:

ritesh@ubuntu12-04:~$ ssh tizen -vvv
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for tizen
debug2: ssh_connect: needpriv 0
debug1: Connecting to review.tizen.org [198.145.20.13] port 29418.
debug1: connect to address 198.145.20.13 port 29418: Connection refused
ssh: connect to host review.tizen.org port 29418: Connection refused
ritesh@ubuntu12-04:~$

I am successfully able to ssh to another (intranet) server but failing to connect to review.tizen.org. Here's the setting in /etc/ssh/ssh_config with Identity file pointing to private key.

Host tizen
  Hostname review.tizen.org
  IdentityFile ~/.ssh/id_rsa
  User riteshkumar
  Port 29418
 

I have added my public key to https://review.tizen.org/gerrit/#/settings/ssh-keys

I have checked other topics on similar issue in the forum but none of the suggestion is helping me. Please help.

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

1 Replies
Mark de Roussier

Hi Ritesh,

I have exactly this problem too, following the developer guide -

mderouss@mderouss-Latitude-E6410:~$ ssh -vvv tizen
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/mderouss/.ssh/config
debug1: /home/mderouss/.ssh/config line 1: Applying options for tizen
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 review.tizen.org [198.145.20.13] port 29418.
debug1: connect to address 198.145.20.13 port 29418: Connection refused
ssh: connect to host review.tizen.org port 29418: Connection refused

Did you succeed in solving this ? :) I've used ssh and Gerrit successfully before, so I'm pretty confident that I have the Gerrit end correctly configured. It feels like a proxy issue of some sort ( or even just an incorrect port number ) but I have not been able to track it down further.

Cheers,

Mark