in reply to Re: Net::SSH::Perl::Auth problem
in thread Net::SSH::Perl::Auth problem

OK, I don't think I understand how the module is authenticating.

After you generate an RSA key, the private key, locally, is in id_rsa. You put the public key down in authorized_keys on the remote system.

Is it the local identity file that I'm specifying in the call?....and the Net::SSH:Perl:Auth knows to try and authenticate to the authorized_keys file?

I'll check out the Net::OpenSSH module, but if you could elaborate, that'd be great

Thanks, Kyle

Replies are listed 'Best First'.
Re^3: Net::SSH::Perl::Auth problem
by kdamundson (Initiate) on Mar 31, 2011 at 17:19 UTC
    OK, I don't think I understand how the module is authenticating.

    After you generate an RSA key, the private key, locally, is in id_rsa. You put the public key down in authorized_keys on the remote system.

    Is it the local identity file that I'm specifying in the call?....and the Net::SSH:Perl:Auth knows to try and authenticate to the authorized_keys file?

    I'll check out the Net::OpenSSH module, but if you could elaborate, that'd be great

    Thanks, Kyle
Re^3: Net::SSH::Perl::Auth problem
by salva (Canon) on Apr 01, 2011 at 09:43 UTC
    Is it the local identity file that I'm specifying in the call?
    Yes, and reading Net::SSH::Perl docs, it seems you have to use something like...
    identity_files => ['/root/.ssh/id_rsa']