ssh-keygen -o -t rsa -C "your.email@example.com" -b 4096
3、复制公钥且粘贴到服务器中
命令:pbcopy < /Users/lucky/.ssh/id_rsa.pub
复制到服务器中: