A supplied public key was not accepted by the server or the user name is incorrect

0 votes
asked Dec 6, 2011 by DOTNet SFTP (120 points)
edited Jul 12, 2012

I am trying to connect to SFTP through .net application using usename and private key.But below error message is thrown: A supplied public key was not accepted by the server or the user name is incorrect

Though i am able to login using same username and private key through filezila.

Kindly provide solution for this issue ASAP.

1 Answer

0 votes
answered Dec 6, 2011 by Lukas Pokorny (85,050 points)
edited Jul 12, 2012

To make it possible to tell what us going on and make Rebex SFTP behave just like FileZilla, please send us these two logs:

  1. Rebex SFTP log. This is simple – just add one line to your code.

  2. Filezilla log. This is slightly more complicaed – check out this screenshot to see how to configure FileZilla to produce a log. Don't forget to restart FileZilla afterwards.

Either add these logs to your question or mail them to support@rebex.net Thanks!

...