From the course: Learning Bitbucket

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Add an SSH key for authentication

Add an SSH key for authentication - Bitbucket Tutorial

From the course: Learning Bitbucket

Add an SSH key for authentication

- [Instructor] Secure Shell, also known as SSH, is a protocol for connecting to remote servers. When we use SSH, our login credentials and data are encrypted, making this protocol highly resistant to network eavesdropping or unauthorized access. Instead of using passwords, SSH uses a pair of cryptographic keys, a public key and a private key. The public key is shared with the remote server and the private key remains securely stored on your local system. Okay, that's all great information, but you might be wondering, what does SSH have to do with Bitbucket? Well, our local Git client uses the SSH protocol to securely connect to remote repositories on Bitbucket. Our Git client uses the private key for identification. Bitbucket uses the public key to confirm our identity, and also confirms that we have permission to make changes to files inside our repos. When we are identified and our permissions are confirmed, we're authenticated, which is exactly what we need for cloning…

Contents