随笔分类 - 自动化运维
摘要:pssh:基于python编写,可在多台服务器上执行命令的工具,也可实现文件复 制,提供了基于ssh和scp的多个并行工具 项目:http://code.google.com/p/parallel-ssh/ pdsh:Parallel remote shell program,是一个多线程远程she
阅读全文
摘要:一、先准备一台可以访问的http服务器 (1.)先搭建可以访问的http的服务 安装httpd 服务 yum install httpd -y 开启httpd服务 systemctl start httpd 查看IP地址 ifconfig 进入httpd的目录文件夹 cd /var/www/html
阅读全文
摘要:ssh 服务登录方式有两种: 用户/口令 基于秘钥 基于用户和口令登录验证: 1 客户端发起ssh请求,服务器会把自己的公钥发送给用户 2 用户会根据服务器发来的公钥对密码进行加密 3 加密后的信息回传给服务器,服务器用自己的私钥解密,如果密码正确, 则用户登录成功 基于用户名口令登录验证: ssh
阅读全文