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
In reply to Re: Re: Net::SSH::Perl Login
by idsfa
in thread Net::SSH::Perl Login
by alongwor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |