Git Clone Repo via SSH
Steps:
Generate SSH Key
Get the
PUBLIC
key and add it toGithub
orGitlab
orother-Git-itteration
Now click New SSH key on top. Type name of your key (something like Work MacBook) and paste contents of your public key.
Let’s force your machine to use proper key for Github SSH connection. Go back to your terminal:
Paste config:
Let’s check Github connection:
If everything is OK. you should get:
Hi $USERNAME! You've successfully authenticated, but GitHub does not provide shell access.
Last updated