All About How To Configure SSH Key In Git, And What is SSH.!

Lets create SSH keys and pss to github server.

$ ssh-keygen -t ed25519 -C "your_email@example.com"
  • -t ed25519 what is this? -t for telling which algorithem should use for encrypting.
  • -C “email” what is this? -C used to create commit for our public key which mention ourself.

Whats Next after writing first command and what happend after that.😕!

Oops.! there is not file with name “toseef”.!

Note: You can pass custom path during creating keys where you want to create keys.

Our Keys are Ready lets start Working.

one more thing, we created keys now we need someone who take care of our keys and who encrypt and decrypt our data against these keys, there is a tool called OpenSSH(in windows), 
openssh provides agent for working with our keys.
first of all we need to start Useragent “ eval “$(ssh-agent -s)
By using this command our ssh-agent is working now and its ready to take care of our keys, lets add our keys to ssh-agent by using this command.
“ ssh-add ‘keyname’ ”

Everything is Ready so Whats Next.🥺???

Step one:

Step two:

Step Three:

Congratulations you completed github SSH configration.

But wait…. do you know how to clone private repo.!

--

--

--

Hy, i'm ReactJS Front End Developer And CYBER SECURITY Export. i love Computer Science!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Logging in Rails and what you should know about it

Is Coursera Plus Worth It in 2022? [Review]

Is Coursera Plus Worth It

Getting started with OpenStreetMap

Kubernetes Cluster upgrade.

Kala Network Testnet with $40,000 worth of reward

How to convert .py including pytorch to .exe using pyinstaller. (Windows)

TDD, the one who helps(halts) you on Coding

You Can Use This 5 Git-Hub Alternatives 2020

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Toseef Ahmad

Toseef Ahmad

Hy, i'm ReactJS Front End Developer And CYBER SECURITY Export. i love Computer Science!

More from Medium

Introduction to docker, containers, docker compose, dockerfile

docker, container, docker compose, virtual machine

Easy Node-Discovery with Consul

How to install code-server on cloud

Using Disposable Password on Bitbucket