Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

I followed the instructions for "Set up SSH for Git on Windows", but it's broken Edited

Set up SSH for Git on Windows: https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

  1. generate the key from the instructions, changing nothing.
  2. from the prompt `notepad ~/.ssh/id_rsa`
  3. ctrl-a (select all) copy
  4. paste
  5. click "Add Key"
  6. "That SSH Key is invalid."
  7. Remove the `-----BEGIN` and `-----END` header and footer
  8. click "Add Key"
  9. "That SSH Key is invalid."

The end result is this screenshot

------

------

This needs to be fixed if it's supposed to be official instruction.

1 answer

0 votes
Mikael Sandberg Community Leader Oct 22, 2019

Make sure you copy all the characters in the .pub file, normally on Windows it adds a label at the end, that also needs to be included.

I modded the OP to include the process used to include the public key text.

Mikael Sandberg Community Leader Oct 22, 2019

The ssh-keygen generates two files, id_rsa and id_rsa.pub. You want to copy the content in id_rsa.pub into your profile in Bitbucket. So in step 2 your command should look like this instead:

 notepad ~/.ssh/id_rsa.pub

Like chip likes this

Suggest an answer

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,914 views 0 7
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