Hi,
The client that is connecting is old and does not have support for a password :(
I'm using a modified version of the file server example shown here: https://www.rebex.net/file-server.
I want to add 1 user that uses a username - no password.
I've tried adding:
server.Settings.AllowedAuthenticationMethods = AuthenticationMethods.None;
// register authentication event handler
server.Authentication += (sender, e) =>
{
if (e.UserName.Equals("user01"))
{
e.Accept(new FileServerUser(e.UserName, null));
}
else
{
e.Reject();
}
};
but this does not work and an error is generated:
Disconnected: No supported authentication methods available (server sent:)
The current private key being used does not have a passphrase implemented.
Can you suggest any solution or method to get this working?
Thanks in advance