in reply to Re^2: Failed to connect the server using Net::SSH::Perl
in thread Failed to connect the server using Net::SSH::Perl

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.

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

Replies are listed 'Best First'.
Re^4: Failed to connect the server using Net::SSH::Perl
by saji (Initiate) on Apr 19, 2010 at 13:54 UTC
    Thanks for your try. Let me check with my SA. Do you have any idea to find/generate the fingerprint key?
      Do you have any idea to find/generate the fingerprint key?

      First, I think you're actually referring the known_hosts file, not the identity file (which contains your private key).  The former contains the public keys (fingerprints) of the hosts, and thus you can't generate those keys yourself — unless you're the admin of those hosts...