Setup SSH Keys
Creating an SSH connection to ADO will establish a secure relationship between ADO and your machine. This is the recommended way to connect your machine to ADO, however you can also use HTTPS (see later).
Follow these steps in your terminal to create an SSH key and add it to the ADO org.
Create an SSH key¶
-
Run
ls ~/.ssh. If you haveid_rsafiles, then move to the next step to add your key to ADO, otherwise continue creating an SSH key. -
Run
ssh-keygento create an SSH key. -
Follow the prompts with default answers
-
After creating the SSH keys, run
ls ~/.sshyou should seeid_rsaandid_rsa.pub
Add your public key to Bitbucket's SSH Key Manager¶
-
See the contents of your public key by typing
cat ~/.ssh/id_rsa.pubor in Windows open the id_rsa.pub document in notepad -
In Bitbucket, create a New Key in the SSH Public Key manager, with the contents from
id_rsa.pub.