28

pssh批量管理linux主机(少量)-ICT小白鼠

 3 years ago
source link: https://blog.51cto.com/11442747/2508074
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
在实际生产环境中,经常会涉及到批量管理linux主机的情况,像主机较多的情况下,可以使用ansible、Saltstack、puppet这些专业的工具,但是pssh的轻便、并行可以适用主机较少的情况下一、安装前准备设置主机间的ssh-key秘钥认证访问1.登录管理机器创建秘钥ssh-keygen2.将公钥拷贝到其他需要管理的主机ssh-copy-id-i/root/.ssh/id_rsa.pub-

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK