2
无法登录到机器......但使用相同的凭据,我可以登录到机器无法ssh到远程机器
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登录超时。输入流目前有以下内容:[email protected]的密码:在/usr/local/share/perl/5.14.2/Expect.pm线828
是本机访问使用SSH的壳呢? – snoofkin 2012-07-23 17:38:23