How to use xfreerdp to connect with SIA
Objective
This is intended to help running xfreerdp3 to establish RDP connections from the Linux CLI using SIA-RDP.
*Note: This article is provided as a courtesy to customers, experiences may vary due to environmental factors.
Environment
N/A Secure Infrastructure Access (formerly DPA) DPA for RDP
Procedure
How to connect with SIA-RDP using xfreerdp3
Test environment: Ubuntu 24.04, FreeRDP v3.5.1
*Note: FreeRDP versions prior to 3.x lack support for required gateway access-token:secureaccess
1. Ensure xfreerdp3 is installed:
https://manpages.ubuntu.com/manpages/noble/man1/xfreerdp3.1.html
2. Example CLI commands (demonstrating different formatting methods)
*Note: the username (/u:) will vary depending on target account and method of copying the manual strings out of Secure Access/SIA.
a) Prompt for password:
xfreerdp3 /v:targetserver.mydomain.com /u:"secureaccess /i testuser@mydomain.com /s mycompany-prod /a targetserver.mydomain.com" /gateway:g:mycompany-prod.rdp.cyberark.cloud,access-token:secureaccess /p:
b) No prompt for password:
xfreerdp3 \
/v:targetserver.mydomain.com \
/u:"secureaccess /i testuser@mydomain.com /s mycompany-prod /a targetserver.mydomain.com /m" \
/gateway:g:mycompany-prod.rdp.cyberark.cloud,access-token:secureaccess \
/p:<testuser@mydomain.com password>
c) Using generated SSO token:
xfreerdp3 \
/v:targetserver.mydomain.com \
/u:"secureaccess /i testuser@mydomain.com /s mycompany-prod /a targetserver.mydomain.com /m" \
/gateway:g:mycompany-prod.rdp.cyberark.cloud,access-token:secureaccess \
/p:<Generated Password Authentication token>
d) Opening downloaded .rdp file:
xfreerdp3 sia_targetserver-mydomain-com.rdp /p: