生成rsa
ssh-keygen -t rsa -C "$your_email"
eg:
ssh-keygen -t rsa -C "123@123.com"
获取公钥
cat ~/.ssh/id_rsa.pub
获取私钥
cat ~/.ssh/id_rsa
生成rsa
ssh-keygen -t rsa -C "$your_email"
eg:
ssh-keygen -t rsa -C "123@123.com"
获取公钥
cat ~/.ssh/id_rsa.pub
获取私钥
cat ~/.ssh/id_rsa
本文标题:Mac SSH生成添加Rsa
本文链接:https://www.haomeiwen.com/subject/gpbjlctx.html
网友评论