in reply to Re: Net::SSH::Perl Login
in thread Net::SSH::Perl Login
The key there is:
target: Will not query passphrase in batch mode.
As the document I referenced before indicates, a private key will only be usable in batch mode if it is not encrypted. You can test this by creating a key with no passphrase on it:
$ ssh-keygen -t rsa -N '' -f testkey
|
|---|