0 votes
by (130 points)

Remote SFTP server is requiring user+password+ssh key.
Is that something Rebex SFTP does out-of-the-box? If so, how?

If not, would this be something you would expect can be handled by the AuthenticationRequest callback (if triggered)? ie: Log in normally with user/ssh-key and then see if I can send password in response.

Basically, how would you expect to handle this situation?

1 Answer

0 votes
by (70.2k points)

Yes, it is possible.

Just simply use the Login(string userName, string password, SshPrivateKey privateKey) method overload.

...