Can Rebex SFTP send user / password + ssh-key ?

0 votes
asked Sep 11 by moe (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
answered 6 days ago by Lukas Matyska (46,810 points)

Yes, it is possible.

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

...