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 in Git & GitHub by akhtar
• 38,180 points
66 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 by MD
• 95,220 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,550 points
3,972 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
209 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,220 points
113 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 in Git & GitHub by MD
• 95,220 points
116 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,138 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,220 points
184 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,220 points
144 views