Git mac 生成sshkey方法

1.打开终端输入命令 生成sshkey :
ssh-keygen -t rsa -C "[email protected]"
2.使用命令将生成的ssh拷贝到剪切板上:
pbcopy < ~/.ssh/id_rsa.pub

备注(ps):
mac中查看.ssh文件命令:
open ~/.ssh

猜你喜欢

转载自blog.csdn.net/weixin_34032827/article/details/87150890