Ask Your Question

Why can't connect to Gerrit’s SSHD port

asked 2014-08-31 03:34:46 -0600

yummy-bian gravatar image

I have added the public key to my gerrit account, but when i typed the below command

ssh -p 29418 -v

Always prompts

OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to [] port 29418.
debug1: connect to address port 29418: Connection refused
debug1: Connecting to [2001:4800:7815:104:3bc3:d7f6:ff03:bf5d] port 29418.
debug1: connect to address 2001:4800:7815:104:3bc3:d7f6:ff03:bf5d port 29418: Network is unreachable
ssh: connect to host port 29418: Network is unreachable

Anyone who knows how to resolve it? Thanks.

edit retag flag offensive close merge delete


did you add a remote using "git review -s" ?

prasoontelang gravatar imageprasoontelang ( 2014-08-31 12:43:56 -0600 )edit

I have added it

yummy-bian gravatar imageyummy-bian ( 2014-08-31 18:28:09 -0600 )edit

3 answers

Sort by » oldest newest most voted

answered 2014-09-01 21:42:01 -0600

Li Ma gravatar image

Me too. I guess it has something related with ISP :-). I think you can try an external VPN service to make it work.

edit flag offensive delete link more

answered 2014-08-31 12:49:32 -0600

This means that a firewall is blocking your access to our Gerrit server. Since other users are able to reach 29418/tcp on this host, that suggests either a local (application, host) firewall is disallowing this egress connection or a network firewall device between you and the server is rejecting the connection on the server's behalf. If you are seeing this message from a system inside a corporate network, please let your company's network firewall administrators know that you need to reach on TCP port 29418.

edit flag offensive delete link more


But when i run the wikimedia's gerrit

ssh -p 29418 -v

It will work well.

yummy-bian gravatar imageyummy-bian ( 2014-08-31 21:54:45 -0600 )edit

answered 2014-09-22 23:57:32 -0600

ZhiQiang Fan gravatar image
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-31 03:34:46 -0600

Seen: 3,866 times

Last updated: Sep 22 '14