Imagine there's a secure, private tunnel that only you have the access code to, to open the door. This is like SSH. You use this secure, private tunnel to push up code or pull down code/files, etc from you computer to the github servers.
What is SSH? SSH Stands for Secure Shell. The first S
(Secure) and the following SH
(Shell), so yes, they use the first letter of the first word (Secure) and the first two letters of the second word (Shell) for the acronym.
First you generate your ssh key pair on your computer. One key is public and the other is private. You share the public key with GitHub and you keep the private key secret and safe on your computer.
You add your public key to your GitHub account. So when GitHub receives a connection request, if it matches the private key, it will have access. If it doesn't match, then no access.
The SSH client uses the private key to create a secure and encrypted connection over the internet. If you try accessing GitHub to push code, pull changes, etc it will check the connection request by trying to unlock it with your public key.
Everything we send goes through this secure, private tunnel.
This allows your work to remain confidential and safe.
Top comments (0)