我如何访问我的SSH公钥?

问题描述:

我试过 cd id_rsa.pub

I've just generated my RSA keypair and I want to add that key to Github.

我刚刚生成了我的RSA密钥对,我想将该密钥添加到Github。 code>和 id_rsa.pub 但没有运气。如何访问我的SSH公钥?

I tried cd id_rsa.pub and id_rsa.pub but no luck. How can I access my SSH public key?

cat〜/ .ssh / id_rsa.pub cat〜/ .ssh / id_dsa.pub

您可以列出所有公开您在做的关键:

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

$ ls〜/ .ssh / *。pub