Thanks salva for the suggestions. I added the time() in the debug line as I not sure to tie time to STDERR. Suggestion welcome.
As far as the timeout is concerned, issue is from
sourceserver: Trying password authentication.
to
sourceserver: Login completed, opening dummy shell channel. (please no
+te this obtained from a successful login attempt, without timeout)
Taking too long to complete. Timed out after 60 seconds.
I'm using following code to logon to target server:
$ssh = Net::SSH::Perl->new($server, debug => 15,
options=> [
"UserKnownHostsFile /usr/local/apps/.ssh/known_hosts"]);
Is there other option I could use to debug this further?
Thanks. |