摘要:
1. 批量执行scp # 将本机文件批量复制到 192.168.1.1-10 这10台服务器上 for i in {1..10};do scp /etc/yum.repos.d/CentOS-Base.repo 192.168.1.${i}:/etc/yum.repos.d/;done END 阅读全文
摘要:
1. 生成证书 ssh-keygen -b 2048 -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Created directory ' 阅读全文