摘要: 1、编写脚本实现登陆远程主机。(使用expect和shell脚本两种形式)。 #expect方式 yum -y install expect vim remote_ssh.sh #!/usr/bin/expect set ip [lindex $argv 0] set password [linde 阅读全文
posted @ 2021-11-19 23:08 咚咚小孩 阅读(34) 评论(0) 推荐(0)