- 查看本地是否存在SSH Key
ls -al ~/.ssh
- 生成新的SSH Key
ssh-keygen -t rsa -C"you_email"
- 生成并添加SSH Key
ssh-add ~/.ssh/id_rsa
- 查看SSH Ket
cat ~/.ssh/id_rsa.pub
ls -al ~/.ssh
ssh-keygen -t rsa -C"you_email"
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
本文标题:SSH Key的创建与查看
本文链接:https://www.haomeiwen.com/subject/fqqmactx.html
网友评论