spawn命令和expect
时间:2014-08-19 16:27:34
收藏:0
阅读:586
#!/usr/bin/expect set timeout 30 spawn ssh fangkui@172.100.101.150 expect { "fangkui@172.100.101.150‘s password:" {send "652289237\r"} } interact
原文:http://www.cnblogs.com/wangfangkui/p/3922248.html
评论(0)