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 | [reply] |
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']
| [reply] [d/l] |