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 - 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
-
-
-
Create public and private repositories3m 26s
-
(Locked)
Add files to a repository2m 6s
-
(Locked)
Add an SSH key for authentication7m 19s
-
(Locked)
Clone repo to a local system2m 52s
-
(Locked)
Use a Git workflow3m 5s
-
(Locked)
Push code to a remote repo4m 23s
-
(Locked)
Challenge: Create a repo and add code1m 30s
-
(Locked)
Solution: Create a repo and add code8m 6s
-
-
-
-