I get the below exception when I try to Authorize using _sftp.Login(UserName, Password);
Message="SFTP subsystem request has failed."
Can you help me know what the issue could be?
With WinScp I get the below log:
. 2020-03-25 16:55:48.321 Server refused to start a shell/command
* 2020-03-25 16:55:48.345 (EFatal) Server refused to start a shell/command
* 2020-03-25 16:55:48.345 Authentication log (see session log for details):
* 2020-03-25 16:55:48.345 Using username "xyz".
* 2020-03-25 16:55:48.345
* 2020-03-25 16:55:48.345 Authentication failed.