- 打开终端命令行,需要测试本机是否已经有ssh
cat ~/.ssh/id_rsa.pub
- 若没有,则生成新的ssh:
ssh-keygen -t rsa -C "邮箱" -b 4096
- 打印SSH
cat ~/.ssh/id_rsa.pub
- 打开终端命令行,需要测试本机是否已经有ssh
cat ~/.ssh/id_rsa.pub
- 若没有,则生成新的ssh:
ssh-keygen -t rsa -C "邮箱" -b 4096
- 打印SSH
cat ~/.ssh/id_rsa.pub