expect tools usage

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了expect tools usage相关的知识,希望对你有一定的参考价值。

#!/usr/bin/expect
spawn ssh [email protected]
expect {
"yes/no" {exp_send "yes\r";exp_continue}
"*password:" {exp_send "root\r"}
}
expect eof

以上是关于expect tools usage的主要内容,如果未能解决你的问题,请参考以下文章

python3:unexpected indent?indent expected?autopep8!

python3:unexpected indent?indent expected?autopep8!

fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler

ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216