Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSH clone probem in Stash

Andrew Cheng February 23, 2016

no problem when

git clone https://user@mystash.my.com/aaaa/yyyy/xxxxx.git

but problem when

git clone ssh://user@mystash.my.com:7999/aaaa/yyyy/xxxxx.git

---------------------------------

fatal: remote error: Repository does not exist

The requested repository does not exist, or you do not have permission to

access it.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

-------------------------------------

I do paste  id_rsa.pub   

to   SETTING -> add key

 

  Do I need do  SSH enable?

How? 

your docs does not work for me

To enable SSH access:
1. Go to the Bitbucket Server administration area and click Server settings (under 'Settings').
2. Under 'SSH access', check SSH enabled.

I have admin right on my group projects. 

 

please advise.

Thanks

Andrew

 

 

 

 

 

 

2 answers

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2016

The SSH url does not need user in it. use git instead.Try this:

git clone ssh://git@mystash.my.com:7999/aaaa/yyyy/xxxxx.git

Get the clone url from Stash to make sure it is correct.

0 votes
Andrew Cheng February 23, 2016

 

 thanks for the advice- the URLs  are  different

"Get the clone url from Stash to make sure it is correct."


it works

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events