linux 生成密钥

命令ssh-keygen –t rsa 

私钥 id_rsa和公钥id_rsa.pub 

获取本机的公钥 cat ~/.ssh/id_rsa.pub 

原文地址:https://www.cnblogs.com/mianbaoshu/p/11770839.html