如何生成ssh公钥
2018-01-25 本文已影响0人
半夏半暖半倾城灬
你可以按如下命令来生成 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....