ssh-keygen -t rsa -C "[email protected]"

 MAC 密约控制

生成密钥   ssh-keygen -t rsa -C "你的github用户名"

查看密钥文件夹    ls -al ~/.ssh

查看密钥内容     cat   ~/.ssh/id_rsa.pub

猜你喜欢

转载自www.cnblogs.com/sr0322/p/9149461.html