RE: [EXTERNAL] Re: Question about multithreading with libSSH

2020-03-27 Thread Kennedy, Marcus A.
> -Original Message- > From: Andreas Schneider > Sent: Friday, March 27, 2020 12:16 AM > To: libssh@libssh.org > Cc: Kennedy, Marcus A. > Subject: [EXTERNAL] Re: Question about multithreading with libSSH > > On Wednesday, 25 March 2020 21:07:33 CET Kennedy, Marcus A. wrote: > > Is libSS

Re: Disable passphrase querying

2020-03-27 Thread Maximiliano Pin
Thanks Jakub, Simply returning -1 from that callback did the trick :-) Regards, Max On Fri, 27 Mar 2020 at 14:50, Jakub Jelen wrote: > On Fri, 2020-03-27 at 13:59 +0100, Maximiliano Pin wrote: > > Hi all, > > > > I'm using ssh_userauth_publickey_auto(). I'd like to disable the > > "Enter PEM >

Re: Disable passphrase querying

2020-03-27 Thread Jakub Jelen
On Fri, 2020-03-27 at 13:59 +0100, Maximiliano Pin wrote: > 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

Disable passphrase querying

2020-03-27 Thread Maximiliano Pin
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 t

Re: Issue banner, IP of clients

2020-03-27 Thread Andreas Schneider
On Friday, 27 March 2020 06:34:57 CET Alexander Grotewohl wrote: > Does it come from a file like /etc/issue or if on Windows, what might it > search for? If you want to change it, you can set it with: ssh_bind_options_set(bind, SSH_BIND_OPTIONS_BANNER, banner) Make sure to follow the RFC.