1、安装命令解决方法:
yum -y install openssh-clients
但是安装了不一定靠谱
2、无需安装,直接写入
cat /root/.ssh/id_*.pub | ssh user@ip 'cat >> .ssh/authorized_keys'
yum -y install openssh-clients
但是安装了不一定靠谱
cat /root/.ssh/id_*.pub | ssh user@ip 'cat >> .ssh/authorized_keys'