摘要: 1.做一个auto_ssh.exp #!/usr/bin/expect set timeout 30 spawn ssh [lindex $argv 0]@[lindex $argv 1] expect { "(yes/no)?" {send "yes\n";exp_continue} "passw 阅读全文
posted @ 2016-07-22 17:35 chi++ 阅读(2232) 评论(0) 推荐(0) 编辑