你可以按如下命令来生成 sshkey:
ssh-keygen -t rsa -C"xxxxx@xxxxx.com"
# Generating public/private rsa key pair...# 三次回车即可生成 ssh key
cat ~/.ssh/id_rsa.pub
# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....
你可以按如下命令来生成 sshkey:
ssh-keygen -t rsa -C"xxxxx@xxxxx.com"
# Generating public/private rsa key pair...# 三次回车即可生成 ssh key
cat ~/.ssh/id_rsa.pub
# ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6eNtGpNGwstc....