# cd /root/.ssh
# ssh-keygen -t rsa
# ls
id_rsa id_rsa.pub known_hosts
cat id_rsa.pub
参考:
http://www.ruanyifeng.com/blog/2011/12/ssh_remote_login.html
http://www.ruanyifeng.com/blog/2011/08/what_is_a_digital_signature.html
# cd /root/.ssh
# ssh-keygen -t rsa
# ls
id_rsa id_rsa.pub known_hosts
cat id_rsa.pub
参考:
http://www.ruanyifeng.com/blog/2011/12/ssh_remote_login.html
http://www.ruanyifeng.com/blog/2011/08/what_is_a_digital_signature.html