in reply to Failed to connect the server using Net::SSH::Perl

Does connecting work from outside of Perl?

This sounds to me more like an issue to take up with your system administrators than with Perl.

  • Comment on Re: Failed to connect the server using Net::SSH::Perl

Replies are listed 'Best First'.
Re^2: Failed to connect the server using Net::SSH::Perl
by saji (Initiate) on Apr 19, 2010 at 13:42 UTC
    yes, I'm able to login to the servers using ssh. Once I use ssh from cmd line the entry will be added in the identity_file and the script is gathering the data for that particular servers. But when it comes to other servers its fails.

      From looking through the Net::SSH::Perl documentation, I see no way of adding a host to the known identities. I recommend you get the list of trusted servers and their fingerprints from your system administrators.

        Thanks for your try. Let me check with my SA. Do you have any idea to find/generate the fingerprint key?