in reply to ssh key ( known_hosts ) through perl module

Net::SSH uses publickey for method of authentication and it executes
regular ssh. You should provide a publickey authentication mechanism to it.
Then,you can use passwordless session. If you need generate key within script,have a lookCrypt::DSA and RSA version Crypt::RSA::Key
Moreover,Why not using Net::SSH::Perl ?
  • Comment on Re: ssh key ( known_hosts ) through perl module

Replies are listed 'Best First'.
Re^2: ssh key ( known_hosts ) through perl module
by swaroop (Beadle) on Aug 31, 2005 at 02:52 UTC
    //Moreover,Why not using Net::SSH::Perl ? //

    Net::SSH::Perl module required authentication. I mean we need to specify the <username> and <password> in the script or interactively.

    Anyways, now using IO::open2 for ssh operation.

    Thanks,
    Swaroop