摘要: 1、用shell脚本实现自动登录机器 #!/usr/bin/expectset usr rootset pw 123456set ip 192.168.0.100spawn ssh $usr@$ipexpect { "yes/no" { send "yes\n";exp_continue } "pa 阅读全文
posted @ 2019-08-22 16:42 N39-Nash 阅读(203) 评论(0) 推荐(0)