vkosyj
vkosyj

Reputation: 777

Check my private key from created ssh keys

I use ssh-keygen -t rsa to generate ssh keys, I learned that my private key is saved to the id_rsa file in the .ssh directory, I wonder what mac ox command line that I should use to see what my private keys is? Thank you in advance.

Upvotes: 2

Views: 4232

Answers (1)

Ecstabis
Ecstabis

Reputation: 454

cat ~/.ssh/id_rsa

or

open ~/.ssh/id_rsa

Works the same for id_rsa.pub

Upvotes: 3

Related Questions