Issue #4841 wontfix

SSH URL incorrectly has colon instead of forward-slash between bitbucket.org and username on Overview tab

Alex Lewis
created an issue

On the Overview tab of a repository where you're presented with the SSH URL for the repository or the HTTP URL if selected the SSH URL is incorrect (I.e. in the section above Branch, Tags, Forks, etc.)

The URL shows - git@bitbucket.org:<username>/<repo_name>.git rather than - git@bitbucket.org/<username>/<repo_name>.git

Comments (8)

  1. Alex Lewis reporter

    Sorry, I've not explained myself properly... The HTTP URL is fine, it's the SSH URL which is wrong.

    The SSH URL that's displayed is (on the page I describe above)...

    ssh://git@bitbucket.org:alewis001/<repo>.git

    Notice the colon between "bitbucket.org" and "alewis001". The colon should be a forward-slash.

  2. Dylan Etkin

    Hi Alex,

    I understand what you are saying.

    If we were to use a '/' in the ssh url then we would need to specify the protocol as git+ssh.

    So that we can specify ssh:// we follow the hostname with ':' not slash.

    You will find that this URL works fine for cloning from bitbucket over ssh. This is also the same style ssh clone URL that github uses.

    Cheers,

    Dylan

  3. Alex Lewis reporter

    Ah! I do apologise!!

    I was putting ssh:// on the front of the URL (and I wasn't copy/paste'ing the URL from the webpage), which was returning me an error (ssh: Could not resolve hostname bitbucket.org:alewis001) as obviously "alewis001" is not a port and hence why I thought there was a problem. Again sorry for my mistake.

    Would maybe renaming "SSH" to "GIT" avoid confusion? I realise GIT is done over SSH so I can see why the option is named SSH, just a thought :)

    Anyway, again thank you for your patience :)

  4. Log in to comment