两行命令让你免密码登录服务器2018-03-30 本文已影响0人 leo_xl 一、生成rsa文件 ssh-keygen -t rsa 二、自动copy到服务器指定目录 ssh-copy-id root@xxx.xx.xx.xx