验证公私钥是否为一对

进入家目录

ssh-keygen -y -e -f ~/.ssh/id_rsa

查看公钥

cat ~/.ssh//id_rsa.pub

posted @ 2023-03-20 14:20  vx_guanchaoguo0  阅读(7)  评论(0编辑  收藏  举报