The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSH clone probem in Stash

Andrew Cheng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

TAGS
AUG Leaders

Atlassian Community Events