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

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

673 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot