ssh -v; connection timeout

Asked by jacky feng

I registered account to launchpad and setup SSH key as instruction. Run 'bzr launchpad-login username' without problem.

But I can not get kernel source from branch. run bzr branch got following error:
root@ul:~/test# bzr branch lp:~beagleboard-kernel/+junk/2.6-stable
ssh: connect to host bazaar.launchpad.net port 22: Connection timed out
bzr: ERROR: Connection closed: please check connectivity and permissions (and try -Dhpss if further diagnosis is required)

Run ssh -v bazaar.launchpad.net got following error:
root@ul:~/beagleboard# ssh -v bazaar.launchpad.net
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to bazaar.launchpad.net [91.189.90.11] port 22.
debug1: connect to address 91.189.90.11 port 22: Connection timed out
ssh: connect to host bazaar.launchpad.net port 22: Connection timed out

Tried to ping ip [91.189.90.11] but still failed. But I set the IP address at IE explores directly and goto https://launchpad.net/ successfully.

Is there some wrong with my platform?

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Theodotos Andreou (theodotos) said :
#1

Probably your provider or employer is blocking ICMP (ping) and outgoing port 22 (ssh). Download the tcptraceroute package:

  sudo apt-get install tcptraceroute

And test where the port is blocked:

  sudo tcptraceroute 22

The last node in this list is the router/firewall that blocks outgoing port 22. Report this to your network administrator/ISP.

Revision history for this message
jacky feng (jfeng) said :
#2

Thank Theodotos Andreou for your reply. Yes, the company network blocked outgong port 22.
I tried same steps with same laptop at home network, outgoing port 22 is enabled. Ping ip [91.189.90.11] successfully too.
But Run ssh -v bazaar.launchpad.net got following error:
root@ul:~/beagleboard# ssh -v bazaar.launchpad.net
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1:ssh: Could not resolve hostname [bazaar.launchpad.net]: Name or service not known.

Tried to creat new SSH key but get same error.

Any idea?

Revision history for this message
Theodotos Andreou (theodotos) said :
#3

This looks like a DNS error. Check you nameservers with this command:

  cat /etc/resolve.conf

Then try this command to see if the hostname is resolved:

  dig bazaar.launchpad.net @put_your_name_server_here

If it does not work try a public DNS service (like OPENDNS) and see what happens

  dig bazaar.launchpad.net @208.67.222.222

Can you help with this problem?

Provide an answer of your own, or ask jacky feng for more information if necessary.

To post a message you must log in.