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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,938 views 26 12
Join discussion

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