sftp error password,keyboard-interactive

0 votes
asked Oct 18, 2018 by keht (120 points)

receiving following error when trying to connect to ftp, please advise.

Authentication was partially successful, but server requires additional authentication with: 'password,keyboard-interactive'.

Applies to: Rebex SFTP

1 Answer

0 votes
answered Oct 18, 2018 by Lukas Matyska (59,450 points)

It seems that you log in using username and SshPrivateKey.

But the server also requires password.

Please, use the Sftp.Login(string userName, string password, SshPrivateKey privateKey) and specify password as well.