1 本地生成ssh公钥和私钥, 2将公钥拷贝到ubuntu上的.ssh/authorized_keys 中 转载于:https://www.cnblogs.com/xqnq2007/p/8167950.html