【发布时间】:2015-08-16 11:32:47
【问题描述】:
我一直在尝试将 bitbucket 连接到我的本地 git 存储库,但很难找到私钥和公钥。
我在 bash 中从这个命令生成 .ssh 密钥
$ ssh keygen -t rsa
Generating public/private rsa key pairs
Enter file in which to save the key (/c/Users/TOSHIBA/.ssh/id_rsa): password.txt (I don't have password.txt file on my system it was random file name I provided)
Enter passphrase(empty for no passphrase): (I left empty)
Enter same passphrase again:
Your identification has been saved in password.txt.
You public key has been saved in password.txt.pub
The key fingerprint is:
9c:9e:07:63:45:ad:76:b3:d0:e1:e1:0f:6c:20:aa:c4 TOSHIBA@TOSHIBA-PC
The Key's random art image is
我无法找出生成的密钥。如果我做错了什么,请告诉我。
谢谢
【问题讨论】: