更新时间:2022-12-01 21:51:39
通常,我将使用原始的Tcl版本的Expect。你只需要在本地机器上。如果我在使用Perl的程序中,我使用 Net :: SSH: :期望。其他语言也有类似的expect工具。
Often, I'll just use the original Tcl version of Expect. You only need to have that on the local machine. If I'm inside a program using Perl, I do this with Net::SSH::Expect. Other languages have similar "expect" tools.