node-sftp-server icon indicating copy to clipboard operation
node-sftp-server copied to clipboard

sftp upload using terminal is working perfect, but failing for other client like java or filezilla

Open bansalmunish opened this issue 8 years ago • 3 comments

  1. I found that every client tries to do authentication without any method. (Even if client having password)

  2. Then server rejects this request and in response passes the supported authentication methods.( publickey, password etc)

  3. On the basis of this the client make another request by choosing the authentication method.

But this nodejs sftp server is not passing authentication methods on failure in first request due to which every client is failing exept sftp command of linux, because sftp command of linux is not dependant on the first failure response.

When you're rejecting request, can you please pass the available/supported authentication methods.

bansalmunish avatar Jun 04 '17 13:06 bansalmunish