Authentication event not firing

0
I'm using FileZilla Client to connect to my sftp app. When I try to do so, it fires my connection even and my pre-authentication event. Then I get this error Error: FATAL ERROR: No supported authentication methods available (server sent: ) Error: Could not connect to server And my disconnect event gets hit. I have an Authentication event, called like this... _server.Authentication = AuthenticateUser; But it never fires. I suspect that I need to do one or more of two things... 1. I need to perform some actions in the connect or pre-auth events. 2. I need to tie the user to a specific authentication method. Can anybody tell me which one it is? And how to do it? The sample app that you have shows me how to create a server app with your stuff and how to start it, but not how to do anything else.
 
asked 3/5/2021 9:45:47 PM
  Shouldn't "_server.Authentication = AuthenticateUser" be "_server.Authentication += AuthenticateUser" ? Your event handler should be added to the event delegate. Mikiel 4/24/2021 11:05:03 PM
add a comment

1 Answers

0
Hi, I suspect that on pre-auth events, you did not allow user connection method. Solution: you should do something like accept user connection method so as to trigger the authentication one. Hope this helps
 
answered 3/10/2021 1:16:28 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged sftp server or ask your own question.