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! Regards, Max