MFA caching for PSM SSH Proxy not working

MFA caching for PSM SSH Proxy not working

avatar

Hello,

I've tried to set up two different PSM SSH Proxy connections with MFA Caching and neither of which succeeded

Environment 1:

The connection through the PSM SSH Proxy works, when the credentials are defined in the PSM SSH Proxy entry. However, if the MFA caching is enabled, the connection crashes.

The authentication mode is set to CyberArk and the credentials are hard coded into the entry:

If I try to connect with this setting, I get two errors:

The SSH Terminal entry should be configured correctly, because it works without MFA Caching.

This is the latest CyberArk version (15.0), so I suspect the issue is caused by some change to the API. The passphrase for the key is not enabled.

Environment 2:

In this case, the CyberArk environment is on version 14.2 and there is enforced MFA with SAML, so the PSM SSH entry is configured for SAML authentication.

When trying to connect through the PSM SSH Proxy, it first asks for SAML authentication, which goes through correctly, but after that I get a prompt for interactive authentication:

I have no idea which password it requests. The host field contains the hostname of the PSM SSH Proxy. In this case, the passphrase for the SSH key is enforced.

Could you confirm whether this is a known issue with the latest CyberArk versions, or whether there's a configuration on the RDM side I might be missing? I'm happy to provide logs, screenshots, or additional details from either environment if that would help with troubleshooting.

Thank you for your time.

Best regards, Daniil

All Comments (5)

avatar

Hello Daniil,

Thank you for the detailed description of both environments.

Based on what you described, the PSM SSH Proxy connection itself is working, but enabling “MFA caching” appears to switch the authentication flow to a session reuse/refresh path that fails (Env 1), and in the SAML scenario the flow completes the web login but then falls back to SSH keyboard-interactive authentication (Env 2), which is why you see an additional password-style prompt.

To proceed, could you share the following so we can confirm whether this is a product issue/compatibility issue or a configuration gap:

  • Your Remote Desktop Manager version/build number.

  • Environment 1:

    • The full text of both error dialogs (copy/paste if possible).

    • Logs from a failed attempt with MFA caching enabled, plus a successful attempt with MFA caching disabled (same entry), with approximate timestamps.

  • Environment 2:

    • The full text of the interactive authentication prompt (it can be a key passphrase prompt presented as “Password”, or SSH keyboard-interactive depending on the proxy/server).

    • Logs from the same test.

For Environment 2 (SAML), it is also worth clearing the CyberArk SAML WebView2 cache and retrying, as stale tokens/cookies can cause the post-SAML handoff to misbehave. Steps are documented here:

https://docs.devolutions.net/rdm/kb/troubleshooting-articles/saml-configuration-troubleshooting-cyberark-dashboard/

If you need an immediate workaround to reduce repeated MFA prompts while we investigate MFA caching on the PSM SSH Proxy entry, using a CyberArk Dashboard entry with Auto Refresh enabled can maintain an active CyberArk session (so MFA is not required every time the session stays active), then launching PSM sessions from the dashboard:

https://docs.devolutions.net/rdm/kb/how-to-articles/cyberark-dashboard-configuration/

Additional references that may be relevant depending on the MFA method in use:

Best regards,

Patrick Ouimet