Support for password and public key for SFTP?


Does the SFTP implementation within Rclone support the use of both password and public key for authentication?

I have a requirement for a remote SFTP server requiring the use of both password and key at authentication.

Thank you for your time and have a wonderful rest of your day!

  • Tim

Do you mean the client or the server? Anyway, both support both password and public key.

I suppose I could have been more clear. :slight_smile:

Using Rclone as an SFTP client and connecting out to a remote SFTP server.

Hoping to be able to use both password AND public key for authentication. Not one or the other but both at the time of authentication.

The library is capable of it. It might just work if you configure a password and a key... The server controls the Auth and will ask for what it needs so if it asks for public key then password I don't see why that won't work.

If it doesn't work it will be easy to make work I think.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.