Wiki

Clone wiki

DevFecta Public Repository / Home

Browse Wiki Documentation

DevFecta Wiki

BitBucket Configuration Tips

Setup SSH access on Linux

Setup Default Identity

Into the Terminal enter the following commands. Enter: ssh-keygen

~/.ssh/id_rsa is the default location and file for the key. You can change the name of the file from id_rsa to whatever you like. To use the default file name just hit Enter, and enter a passphrase.

Add SSH Key to ssh-agent

Start the ssh-agent: eval ssh-agent

Enter: ssh-add ~/.ssh/id_rsa

Add Public SSH Key Bitbucket Settings

Copy the SSH Key output and add the key BitBucket's SSH Keys found at BitBucket Settings > SSH Keys.

Enter: cat ~/.ssh/id_rsa.pub

Verify the configuration.

Enter: ssh -T git@bitbucket.org

You'll get a message like "Warning: Permanently added the RSA host key for IP address '123.456.789.1' to the list of known hosts. logged in as <your username>." NOTE: The IP address may need to be updated if you change your physical location.

Updated