📜  忘记 id_rsa 的密码 [重复] - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:44.295000             🧑  作者: Mango

代码示例1
rm ~/.ssh/id_rsa*
ssh-keygen -t rsa -f ~/.ssh/id_rsa
ssh-add -K ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub | pbcopy