ssh-keygen -t rsa
提示输入 Enter passphrase (empty for no passphrase):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
上述都可以为空
会生成文件,打开文件
vim /Users/tuanShao/.ssh/id_rsa.pub
将生成的id_rsa.pub内容添加到