+1 vote
by (130 points)

    2022-05-04 17:59:54.837 Opening log file.
2022-05-04 17:59:54.839 INFO FileLogWriter(1)[9] Info: Assembly: Rebex.Common 2018 R4 for .NET 4.0-4.7
2022-05-04 17:59:54.841 INFO FileLogWriter(1)[9] Info: Platform: Windows 10.0.19043 64-bit; CLR: 4.0.30319.42000
2022-05-04 17:59:54.841 DEBUG FileLogWriter(1)[9] Info: Culture: en; Windows-1252
2022-05-04 17:59:55.434 DEBUG Sftp(1)[9] SSH: Allowed authentication methods for 'xxxxxxxxx': publickey, password.
2022-05-04 17:59:55.434 DEBUG Sftp(1)[9] SSH: Trying public key authentication for 'xxxxxxxxx''.
2022-05-04 17:59:55.461 ERROR Sftp(1)[9] SSH: Rebex.Net.SshException: A public key corresponding to the supplied private key was not accepted by the server or the user name is incorrect.
   at Rebex.Net.SshSession.tsss(String agy, String agz, SshPrivateKey aha, SshGssApiCredentials ahb, Boolean ahc)
2022-05-04 17:59:59.476 ERROR Sftp(1)[9] Info: System.InvalidOperationException: Not authenticated to the server.
   at Rebex.Net.Sftp.nqxt()
   at Rebex.Net.Sftp.nqzv(String uf, Boolean ug, Boolean uh, Boolean ui, kuvq uj)

1 Answer

0 votes
by (150k points)

by (130 points)
Thank you very much for your quick response and detailed suggestion. It turns out to be a careless mistake relates to letter case.
by (150k points)
Thanks for letting us know!
...