[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disable passphrase querying

Hi all,

I'm using ssh_userauth_publickey_auto(). I'd like to disable the "Enter PEM
pass phrase:" prompt that appears when the user forgot to use ssh-add (the
private key is encrypted), and get an error instead.

This is a program with multiple threads doing non-interactive ssh
communication, so that prompt is a problem.

With the 'ssh' command, I can achieve that using the BatchMode option. How
can I achieve the same with libssh? Thanks!


Re: Disable passphrase queryingJakub Jelen <jjelen@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org