Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
cd existing-project
git remote set-url origin https://isdbitbucket/scm/bays/test.git - here before when I created a new repo it was ssh but it turned to https what should I do
 
git push -u origin --all git push origin --tags

 

1 answer

0 votes

 

If you want to be working with SSH you're going to need to make sure you have some SSH key pair(s) in your local device. Usually here--- C:\.ssh/  with /id_rsa  and id_rsa.pub take and if needed generate better keys prior to adding to Bitbucket settings SSH Keys. You can use about anything. Cmd, Terminal, to ssh-keygen generate keys and you'll want to sign into Bitbucket/Github/Your Hosting Provider and add your public key, NOT your private. 

SSH will not work if it doesn't recognize or match up to the private key's values in the id_rsa folder which you don't need to mess with. 

If you want to SSH into a computer address use Bitvise or Putty on Windows or ssh username@ip_address to ssh into. Often times root@mywebsite.com 

But if you're on your own machine and using thing like Non-Ubuntu Linux Builds it could very somewhat, I just speak for Windows some, Mac mostly, and Linux enough to help a bit. You can change the format you clone folders i.e. the ssh way instead of the https way, it's the 3 tab menu after clicking Clone in the repo. Https requires password unless saved and configured on local computer, and SSH maybe overkill. Let me know what you're wanting to do and I'll try to better answer. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

218 views 2 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you