libssh with fixed max data lenght on esp8266

2020-07-28 Thread Emiliano Gonzalez
I'm using libssh on ESP8266 and it works well. The problem is when call ssh_channel_write does not send immediately and continues enlarging the buffer (calling realloc_buffer). Is possible to send buffer after some fixed length?

Re: Authentication

2020-07-28 Thread g4-lisz
On 28.07.20 15:25, Bruno Buzzi Brassesco wrote: > Maybe has nothing to with this but in our installation /authorizedKeys > is a folder (not a file). I only know this as a single file containing one key per line, at least for openSSH. But then I wonder why login works with another SSH client... Se

Re: Authentication

2020-07-28 Thread Bruno Buzzi Brassesco
Hi, I'm still researching this. Maybe has nothing to with this but in our installation /authorizedKeys is a folder (not a file). And one of those files (inside /authorizedKeys) has the appended public key that's been rejected by ssh_userauth_try_publickey(). regards, bruno El mar., 28 jul. 2020 a

Authentication

2020-07-28 Thread Bruno Buzzi Brassesco
Hi, I can login with ssh command line: ssh -i /custom-dir/ssh_keys/myPrivateKey somehost But libssh ssh_userauth_try_publickey() keep answering (1- SSH_AUTH_DENIED): 'Error :Access denied for ''publickey''. Authentication that can continue: publickey,gssapi-keyex,gssapi-with-mic,password' Also ss