How do I access my SSH public key

0 votes

Hi Team,

I have created a RSA key pair, and I wanted to add that key to GitHub. I tried cd id_rsa.pub and id_rsa.pub, but not able to check. How can I access my SSH public key?

Jan 4, 2021 in Git & GitHub by akhtar
• 38,260 points
754 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use the cat command in your Linux system,

$ cat ~/.ssh/id_rsa.pub or cat ~/.ssh/id_dsa.pub

You can list all the public keys you have by doing:

$ ls ~/.ssh/*.pub
answered Jan 4, 2021 by MD
• 95,460 points

Related Questions In Git & GitHub

0 votes
1 answer

How do I solve a Git checkout error: updating paths is incompatible with switching branches?

This error occurs when you are checking ...READ MORE

answered Jul 26, 2018 in Git & GitHub by Sophie may
• 10,620 points
10,524 views
0 votes
1 answer

How do I install Git on windows?

Hey @Akash, follow these steps: Go to this ...READ MORE

answered Feb 19, 2019 in Git & GitHub by Nikhil
990 views
+1 vote
1 answer

How do I rename a local Git branch?

Hi@akhtar, You can rename your branch name. Sometimes ...READ MORE

answered Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
723 views
0 votes
1 answer

How do I update the password for Git?

Hi@akhtar, You need to update your credentials. For ...READ MORE

answered Jan 5, 2021 in Git & GitHub by MD
• 95,460 points
735 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
0 votes
1 answer

How can I set ssh key in GitHub?

Hi@akhtar, First you have to generate key using ...READ MORE

answered Feb 4, 2020 in Git & GitHub by MD
• 95,460 points
904 views
0 votes
2 answers

How do I install Git on CentOS?

Hi, If you want to install Git 1 ...READ MORE

answered Feb 4, 2020 in Git & GitHub by MD
• 95,460 points
1,057 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP