Issue #9071 resolved

SSH Connection refused

Satish Suggala
created an issue

I've added the ssh key from hostgator to bitbucket.

This is my output from ssh -v git@bitbucket.org

OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Connecting to bitbucket.org [131.103.20.167] port 22.
debug1: connect to address 131.103.20.167 port 22: Connection refused
debug1: Connecting to bitbucket.org [131.103.20.168] port 22.
debug1: connect to address 131.103.20.168 port 22: Connection refused
ssh: connect to host bitbucket.org port 22: Connection refused

I don't know what I'm doing wrong. Please help. :(

Comments (9)

  1. Dan Bennett staff

    This should work fine. Can you please try again. If it still fails to connect please submit a traceroute to bitbucket.org as well so we can get to the bottom of this.

  2. Anand Sharma

    Hi folks,

    I too am facing exactly the same problem.

    Here's my log:

    $ ssh -v -i git.deploy-key.bitbucket.org.pvt git@bitbucket.org
    OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
    debug1: Reading configuration data /home/anandps/.ssh/config
    debug1: Applying options for *
    debug1: Connecting to bitbucket.org [131.103.20.167] port 22.
    debug1: connect to address 131.103.20.167 port 22: Connection refused
    debug1: Connecting to bitbucket.org [131.103.20.168] port 22.
    debug1: connect to address 131.103.20.168 port 22: Connection refused
    ssh: connect to host bitbucket.org port 22: Connection refused
    
  3. Anand Sharma

    Hi David,

    I'm AFK right now but wanted to tell you that the solution I found was to use Bitbucket's "alternative SSH URL".

    The URL format starts like "ssh://..." as opposed to "git@bitbucket :orgname/...".

    There's an article on Atlassian that mentions it somewhere. :)

  4. Log in to comment