无法登录机器...但使用相同的凭据我可以登录机器
my $ssh = Net::SSH::Expect->new (host => "9.118.46.36", password=> 'test01', user => 'root', raw_pty => 1, timeout => 20);
# establishes the ssh connection,
# authenticating with that user and password
$ssh->login();
SSHAuthenticationError 登录超时。输入流当前的内容如下: root@9.118.46.36 的密码: at /usr/local/share/perl/5.14.2/Expect.pm line 828