Locked lesson.
About this lesson
SSH keys allow our project to talk to other services securely behind the scenes. In this lesson, we'll discuss how to create and use an SSH key of your own.
Exercise files
Download this lesson’s related exercise files.
Create SSH Keys.docx57.5 KB Create SSH Keys - Solution.docx
58.3 KB
Quick reference
Create SSH Keys
An SSH Key allows us to connect our terminal to third party services securely for transferring files.
When to use
Create an SSH Key when you plan to transmit your project files to a third party such as github.com or heroku.
Instructions
To create an ssh key, first create a directory:
mkdir ~/.ssh
Next move into that directory:
cd ~/.ssh
Next create the ssh key:
ssh-keygen.exe
Follow the on screen prompts.
Hints & tips
- Create and save your ssh key in the ~/.ssh directory
- to create your key: ssh-keygen.exe
Lesson notes are only available for subscribers.