摘要: 1.新建文件 : touch iterm2login.exp 文件内容: #!/usr/bin/expect set timeout 30 spawn ssh [lindex $argv 0]@[lindex $argv 1] expect { "(yes/no)?" {send "yes\n";e 阅读全文
posted @ 2019-01-11 14:15 Proli 阅读(3064) 评论(0) 推荐(0) 编辑