RDP, SSH and SQL Connection
Available permissions to access resources are displayed in the user console.
Sorting is available for each column except the Tags column. When entering characters in the search field, matches will be displayed for all columns.
If the user has access to ad hoc resources, they will be displayed at the top of the list.
Connection to a Resource via RDP
- In the user console, click Download RDP file to the right of the permission.
By default, resources that support RDP and SSH connectivity have the Copy SSH command button displayed. To download RDP file, click, and then Download RDP file.
- Run the RDP file to access the resource.
- Authenticate.
- Optionally specify local drives to use in the remote session.
The downloaded RDP file can be reused for further connections.
Connection to the Access Gateway
- Click Connect to the access gateway, the download of the RDP file will begin.
- Run this RDP file.
- Authenticate and set up the connection.
Connection to the SSH Proxy
You can connect to the SSH Proxy from the command line or by using any SSH client.
- Command line
- PuTTY
- MobaXterm
- SecureCRT
Open the console utility.
Enter the connection string of the SSH Proxy or the load balancer. Можно использовать IP-адрес или DNS.
To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.Template of SSH Proxy Connection Commandssh <IP address or DNS>
Example of SSH Proxy Connection Commandssh axidianproxy
Optionally specify the user login and port.
Template of SSH Proxy Connection Commandssh <login>@<IP address or DNS> -p <port>
Example of SSH Proxy Connection Commandssh user@axidianproxy -p 2222
Optionally specify the path to the private key.
Template of SSH Proxy Connection Commandssh <login>@<IP address or DNS> -p <port> -i <path to the private key>
Example of SSH Proxy Connection Commandssh user@axidianproxy -p 2222 -i "C:\Users\user\.ssh\id_ed25519"
Enter the password. If SSH key authentication is configured, skip this step.
Enter OTP.
Select a resource and connect.
Authentication via Password
- Open the PuTTY app.
- In the Host Name (or IP address) field, enter the SSH Proxy or the load balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Optionally specify the port in the Port field.
- In the Connection type field, select SSH.
- Click Open.
- Enter user login.
- Enter the password.
- Enter OTP.
- Select a resource and connect.
Authentication via SSH Key
This method is possible only if SSH key authentication is configured and the key is generated by the PuTTYgen utility.
- Open the PuTTY app.
- In the Host Name (or IP address) field, enter the SSH Proxy or the load balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Optionally specify the port in the Port field.
- In the Connection type field, select SSH.
- Open Connection → Data. Enter user login in Auto-login-username field.
- Open Connection → SSH → Auth → Credentials. Specify the private key in the Private key file for authentication field.
- Click Open.
- Enter OTP.
- Select a resource and connect.
Certificate Authentication
This method is available only if SSH key authentication is configured and PuTTY CAC is installed.
- Open the PuTTY app.
- In the Host Name (or IP address) field, enter the SSH Proxy or the load balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Optionally specify the port in the Port field.
- In the Connection type field, select SSH.
- Open Connection → Data. Enter user login in Auto-login-username field.
- Open Connection → SSH → Certificate. Click Set CAPI Cert.
- Click Open.
- Enter OTP.
- Select a resource and connect.
In MobaXterm versions earlier 23.0, you need to disable the Fix connection issues option in the Settings → Configuration → SSH section.
Authentication via Password
- Open the MobaXterm app.
- Click Sessions → New Session.
- Select SSH.
- In Remote host specify the SSH Proxy or the load balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Enable the Specify username option and enter the username.
- Optionally specify the port in the Port field.
- Click OK.
- Enter the password.
- Enter OTP.
- Select a resource and connect.
Authentication via SSH Key
This method is possible only if SSH key authentication is configured.
- Open the MobaXterm app.
- Click Sessions → New Session.
- Select SSH.
- In Remote host specify the SSH Proxy or the load balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Enable the Specify username option and enter the username.
- Optionally specify the port in the Port field.
- Click the Advanced SSH Settings tab.
- Enable the Use private key option and specify the private key in this field.
- Click Expert SSH settings.
- In the SSH protocol version field, specify SSHv2.
- Click OK.
- Enter OTP.
- Select a resource and connect.
Authentication via Password
- Open the SecureCRT app.
- Click File → Quick Connect.
- In the Protocol field, select SSH2.
- In the Hostname field, specify the SSH Proxy or the balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Optionally specify the port in the Port field.
- In the Username field, enter the username.
- Click Connect.
- Enter the password.
- Enter OTP.
- Select a resource and connect.
Authentication via SSH Key
- Open the SecureCRT app.
- Click File → Quick Connect.
- In the Protocol field, select SSH2.
- In the Hostname field, specify the SSH Proxy or the balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Optionally specify the port in the Port field.
- In the Username field, enter the username.
- In the Authentication group, enable the PublicKey option and disable all others.
- Select PublicKey with the mouse and click
.
- Select the Use session public key setting option.
- Specify the private key in the Use identity or certificate file field.
- Click OK.
- Click Connect.
- Enter OTP.
- Select a resource and connect.
Connection to a Resource via SSH
- Command Line
- PuTTY
- MobaXterm
- SecureCRT
Connection by command from the user console
- In the user console, to the right of the permission to the SSH resource, click Copy SSH command.
- Run the copied command in the terminal.
- Enter your password and OTP.
Connection by command with additional parameters
You can write an SSH command manually using the template below.
- Write an SSH command using the template below.
- Run the command in the terminal.
- Enter your password and OTP.
ssh [user-name]#[resource]#[account-name]#[reason]@[proxy-address]
user-name
— user name.resource
— IP address or DNS.account-name
— name of the privileged account.reason
— text of the connection reason. If the reason contains spaces, specify it in quotation marks.proxy-address
— IP address or DNS of the SSH Proxy server.
You can omit any parameter except proxy-address
. In this case, SSH Proxy will request these parameters separately.
ssh ivan.ivanov#ubuntu#webmaster#"system configuration"@pam
- In the user console, to the right of the permission to the SSH resource, click Copy SSH command.
- Open the PuTTY app.
- Paste the copied line in the Host Name (or IP address) field. Remove the ssh, quotes, and port from this line.
- Specify the port in the Port field.
- Click Open.
- Enter your password and OTP.
- Open the MobaXterm app.
- Click Sessions → New Session.
- Select SSH.
- In Remote host specify the SSH Proxy or the load balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- Включите опцию Specify username.
- Enter username. You can specify it in the format:
[user-name]#[resource]#[account-name]#[reason]
Example of specifying additional parameters in a usernameVDD\alex.shushkin#cent9en.vdd.com#CENT9EN\local##
- Optionally specify the port in the Port field.
- Click OK.
- Enter your password and OTP.
- Open the SecureCRT app.
- Click File → Quick Connect.
- In Protocol field select SSH2.
- In the Hostname field, specify the SSH Proxy or the balancer address. You can use an IP address or DNS. To find out the SSH Proxy address, copy the SSH command of any resource in the user console and take the value specified after the @ character.
- In the Username field, specify the username.
You can specify it in the format: [user-name]#[resource]#[account-name]#[reason]
Example of specifying additional parameters in a usernameVDD\alex.shushkin#cent9en.vdd.com#CENT9EN\local##
- Click Connect.
- Enter your password and OTP.
Connection to a Resource via the PostgreSQL Proxy
A special license is required to connect to the PostgreSQL resource.
- GUI DBMS Client
- Console client of DBMS Psql
Open the user console of Axidian PAM.
Click Show connection credentials.
Open your DBMS client and enter into its connection form the data you received in the previous step:
- Connection Address
- Connection Port
- Account Name
- Default Database
If the User must specify the connection reason option is enabled in the session policy, then add the connection reason text to the Account Name field.
Example: if the Account Name value was
admin@company.local#1.1.1.1#MYCOMPANY\test-admin
, after the reason was added it will read as:admin@company.local#1.1.1.1#MYCOMPANY\test-admin#"my reason to connect"
.If this option is disabled, skip this step.
In the connection form, enter the password of your PAM account.
Open the user console of Axidian PAM.
Click
next to the desired permission.
Click Copy command for Psql. The command to connect to this resource will be copied to the clipboard.
If the User must specify the connection reason option is enabled in the session policy, then add the connection reason text to the value of the
-U
.Example: if the
-U
parameter value wasadmin@company.local#1.1.1.1#MYCOMPANY\test-admin
, after the reason was added it will read as:admin@company.local#1.1.1.1#MYCOMPANY\test-admin#"my reason to connect"
.If this option is disabled, skip this step.
Run the command from the previous step in the terminal. After executing the command, PostgreSQL Proxy will prompt you for the user's password.
Enter your PAM account password in the connection form.
Connection to an Ad Hoc Resource
Ad hoc resources are resources that are not registered in the Axidian Privilege system. This type of connection makes it possible to connect to any resources according to connection types predefined by the PAM administrator.
A special license is required to connect to the ad hoc resource.
Click Specify connection address to the right of the required permission to the ad hoc resource.
Select Connection type.
infoThe available connection types are determined by the PAM administrator when granting permissions.
Enter Connection address.
Depending on the selected connection type, click one of the buttons: Copy SSH command or Download RDP file.
If you have several permissions (with different connection types) to an ad hoc resource, and in the Connection to an ad hoc resource window in the Connection type field there are no required options, then check the Permission Access Schedule.
The connection type will not be displayed in the Connection type field if you are trying to connect via permission outside the hours specified in the Permission Access Schedule.
Setting a Password During Connection
When connecting to the resource, you may be asked for a password.
This means that the account on whose behalf you are granted access to the resource does not have a password. You cannot connect to the resource with such an account. Contact your PAM administrator, as only an administrator can set an account password.
Ending a Session
To end the session, close the remote connection window or log off the resource.