in reply to Control::CLI and Additional Prompt At Login
Hello,
all worked well (no more timeouts at all)Since you mention timeouts, I'm assuming that you were able to connect to your host using $cli->connect(). Now, this is just a wild guess on my part: Have you tried using the $cli->login() after your connect? Here's the source to help with login sub.
if ( defined($port) ) { print "\tSSH connection to server ($host) established!\n"; $cli->login(...); # or $cli->put(string => "IJAF\n"), if it's wait +ing for user input - whichever works. You can also use $cli->print(li +ne => "IJAF"); } else { print "\tSSH connection to server ($host) could not be established +... Exiting program.\n"; exit; }
|
|---|