SSH clone probem in Stash

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

0 votes
Accepted answer

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.

 

 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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

449 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you