mac下生成密鑰ssh
ls -al ~/.ssh
2.生成新的SSH Keycode
ssh-keygen -t rsa -C"任意字符串"
一路敲回車3.生成並添加SSH Key字符串
ssh-add ~/.ssh/id\_rsa
4.查看SSH Keyrsa
cat /Users/電腦用戶名/.ssh/id\_rsa.pub