使用密钥登陆ssh 发表评论 生成密钥对 在远程服务器上运行 ssh-keygen 在/root/.ssh 文件夹下生成了两个文件,公钥id_rsa.pub和私钥id_rsa 部署公钥 cd .ssh/cat id_rsa.pub >> authorized_keyschmod 400[......]继续阅读