DEV Community

Cover image for SSH Keys for GitHub (Debian GNU/Linux)
Mohammad Reza
Mohammad Reza

Posted on

3 2

SSH Keys for GitHub (Debian GNU/Linux)

That is a very nice way if you want to dont write your password for every push in Github :)

cd ~/.ssh
ls
Enter fullscreen mode Exit fullscreen mode

If you have "id_rsa.pub" you dont need to generate it but if you dont have it lets make it

 ssh-keygen -o -t rsa -C "azibom@gmail.com"
Enter fullscreen mode Exit fullscreen mode

Now you should see it in ~/.ssh
Lets open it

cat cat ~/.ssh/id_rsa.pub
Enter fullscreen mode Exit fullscreen mode

Now copy what you see and go to your github

Go to Account Settings > Ssh keys and pase what you have been copied

Alt Text
Alt Text

And now save it
Done

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay