1. I have successfully added an SSH key in github, can I use the same ssh key "id_rsa" and "id_rsa.pub" in bitbucket?
2. Do I need to include the "-----BEGIN RSA PRIVATE KEY-----" at the beginning and "-----END RSA PRIVATE KEY-----" at the end of the ssh key?
3. Do I also need the "host address", and where do you find it on a mac?
Hi Adam, welcome to the Community :)
In response to your questions:
1. Yes, you can use the same SSH key for different service, but note that if you're already using that key for a Bitbucket account, you won't be able to use it again for another Bitbucket account.
2. My SSH keys look different (they don't include that text), but I'd try removing the "-----BEGIN RSA PRIVATE KEY-----" and "-----END RSA PRIVATE KEY-----" and see if Bitucket takes it.
3. You won't need the host address to set up your SSH key in Bitbucket, unless you're using it for Pipelines. For more information, you can read Set up an SSH key and Use SSH keys in Bitbucket Pipelines. You can find it under System Preferences > Network.
Hope that helps!
Ana
Thank you, I'll try it again :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please do not ever share your private key. That makes it useless. If you're setting up an SSH key in Pipelines to push or pull code from elsewhere, then please use the built-in SSH key generator there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.