I am using the following commands to connect to a Solaris server in order to run a couple of commands. The login response is simply login: . The prompt is [sun88]/prod/users/nnmuser/u24060>. I keep receiving a login timeout. Can someone help distinguish what might be going on?
$t = new Net::Telnet (Telnetmode => 0,
Input_Log => $filename,
Dump_Log => $dump);
$t->open ($hostname);
$t->login($username, $password);
$t = new Net::Telnet (Telnetmode => 0,
Input_Log => $filename,
Dump_Log => $dump);
$t->open ($hostname);
$t->login($username, $password);