Implemented

SFTP with OTP

avatar

RDM Free: Version 2022.3.5.0

The account I'm logging in to the system with will accept a Yubikey or a 6-digit token from an App. This works fine over SSH

Any ideas how to get this to work with an SFTP connection?

Session -> Advanced -> One Time Password has a few options, but I'm not sure on which combination of Source and Usage to use to get it work and prompt for the token/yubikey. I've tried with Source = Prompt, but it actually doesn't show a prompt (like it does for SSH). For Usage, I'm figuring "Specific to Session" is the correct option (as I don't want it to prepend or append the user/password). It needs to be a separate prompt. Sadly, any combination I've tried doesn't work.

RDM Error = Unable to establish the connection. Please make sure your connection settings are valid.
Systems Error = Failed duo login for 'user' from 'ip'

Any help anyone could give would be greatly appreciated.

Cheers

All Comments (5)

avatar

Hi Paul,

It seems that we are missing this feature in SFTP at the moment. Since SFTP does not expose a terminal window (as opposed to SSH Shell for instance), we will need to implement the necessary event to prompt for the OTP.

So, the short answer is that it is not supported at the moment.

I'm opening a ticket and we will post back when progress is made.

Best regards,

Xavier Fortin

avatar

Hi Xavier, Much appreciated.

Cheers.

avatar

Hi Paul,

A new version of RDM Mac (2022.3.15.2) is now available with support for OTP prompt in SFTP and SCP entries.

Best regards,

Xavier Fortin

avatar

Hi Xavier, Can confirm this works perfectly. Thanks so much.

avatar

Glad to hear it!

Do not hesitate if you encounter any other issues.

Best regards,

Xavier Fortin