摘要: 1、编写脚本实现登陆远程主机。(使用expect和shell脚本两种形式)。 使用expect: [root@Centos8 ~]# cat ssh-expect.sh#!/usr/bin/expectset ip [lindex $argv 0]set user [lindex $argv 1]s 阅读全文
posted @ 2021-12-27 23:48 Kevin0557 阅读(39) 评论(0) 推荐(0)