exp
时间:2006-05-29 来源:very_99
spawn ssh -t root@$argv
expect {
"* (yes/no)*" { send "yes\r" ; set sshkey 1}
"* password:*" { send "123456\r" }}
if $sshkey!=1 {expect "* password:*"
send "123456\r" }
expect {
"* (yes/no)*" { send "yes\r" ; set sshkey 1}
"* password:*" { send "123456\r" }}
if $sshkey!=1 {expect "* password:*"
send "123456\r" }
相关阅读 更多 +
排行榜 更多 +









![《小朋友齐打交2复刻版》 v2.14d升级档+未加密补丁[TENOKE]](https://images.phpfans.net/img/f1/20251229/logo_69527f2a9daf81.jpg)
