Hi, The `ssh_userauth_none()` should work when the session is set to non-blocking. On the first sight I do not see any significant difference from other authentication functions. Do you have a backtrace, where the code is blocking? Do you have a minimal reproducer? What is the server?
Jakub On Mon, Jun 10, 2024 at 8:42 AM Bhautik Radadiya <radadiyabhauti...@gmail.com> wrote: > > Hi All, > Hope you all are well and doing well. > I am facing authentication issue sometimes when we are trying to authenticate > via ssh_userauth_none > and it blocks the thread and we never gets the handle back to thread. > > 1. What could be the problem? > 2. Is ssh_userauth_none is blocking API?? > 3. Is there any alternate API to authenticate via none?? > > Please let me know if i am missing something or any information you need from > me. > Thanks in advance for your help. > > Regards > Bhautik >