摘要: 一、expect脚本远程登录 1、上线代码:所谓上线,就是把开发人员开发的代码发布到线上环境, 2、安装expect yum install -y expect 3、编辑登录脚本 #! /usr/bin/expectset host "192.168.134.131"set passwd "root 阅读全文
posted @ 2018-04-25 22:42 天梭 阅读(95) 评论(0) 推荐(0) 编辑