Skip to main content
Version: Axidian Privilege 3.4

RDP, SSH, Web and SQL Connection

The Axidian Privilege user console displays permissions to access resources. Sorting is available for each column except the Tags column. When searching, matches are displayed across all columns.

If the user has access to ad hoc resources, they are displayed at the top of the list.

Connection to a Resource via RDP

Connect to a resource using an RDP file or open a session in a new browser tab through the Web terminal.

  1. Click down-arrow.png next to the permission and select Download RDP connection file.
  2. Open the downloaded file and authenticate as an Axidian Privilege user.
    If the administrator has enabled an authentication code, credentials do not need to be entered.
  3. (Optional) Specify a reason for the connection if required by the policy.
  4. Authenticate on the resource:
    • If the permission specifies an account, login is performed on behalf of that account.
    • If the permission is granted for a user account and authentication in Axidian Privilege was completed as a PAM user, their login and password are auto-filled in the resource login form.
Note

If authentication codes are enabled, enter the user password when reusing the RDP file.

Connection to the Access Gateway

The access gateway accepts the user's connection and displays a list of resources available for launching a session.

RDS gateway

  1. Click Connect to the access gateway, the download of the RDP file will begin.
  2. Run this RDP file.
  3. Authenticate and set up the connection.

SSH gateway

Connect to the SSH gateway from the command line or using an SSH client.

  1. Open the console utility.

  2. Enter the IP address or DNS name to connect to the SSH access server or load balancer.
    To find out the address, go to the user console and copy the SSH command to any resource. Use the value specified after the @ symbol. If required, specify the path to the private key.

    Template of SSH Proxy Connection Command
    ssh <user login>@<IP address or DNS name> -p <port number> -i <path to private key>
    Example of SSH Proxy Connection Command
    ssh user@axidianproxy -p 2222 -i "C:\Users\user\.ssh\id_ed25519"
  3. Complete authentication. If SSH key authentication is configured, skip this step.

  4. Select a resource and connect.

Connection to a Resource via SSH

Connect to the resource using the command line, SSH client, or start an SSH session in a new browser tab via a Web Terminal.

  1. Click down-arrow.png next to the permission and select Copy SSH command.

  2. Run the copied command in the terminal.
    If you need to specify a reason for the connection, add it to the command after the username.

    Example command with a reason
     ssh "pamadmin@pam.local#10.10.1.191#LINUX-PAM.LOCAL\pam-admin#reason-for-connection#@pam.axidian-id.hq" -p 2222
  3. Authenticate as an Axidian Privilege user.
    If the administrator has enabled an authentication code, credentials do not need to be entered.

    Example command with a reason and an authentication code
    ssh "pamadmin@pam.local#10.10.1.191#LINUX-PAM.LOCAL\pam-admin#reason-for-connection#ZO3nNVdBFMKIGEs@pam.axidian-id.hq" -p 2222
  4. Authenticate on the resource:

    • If the permission specifies an account, login is performed on behalf of that account.
    • If the permission is granted for a user account and authentication in Axidian Privilege was completed as a PAM user, their login and password are auto-filled in the connection string.
      To log in to the resource, press Enter twice.
Note

If authentication codes are enabled, enter the user password when reusing the command.

Connection using a command with additional parameters

You can write an SSH command manually using the template below.

  1. Write an SSH command using the following template:

    SSH command template
    ssh [user-name]#[resource]#[account-name]#[reason]@[proxy-address]
    • user-name — username.
    • resource — IP address or DNS name of the resource.
    • account-name — name of the privileged account.
    • reason — connection reason text; if the reason contains spaces, enclose it in quotes.
    • proxy-address — IP address or DNS name of the SSH Proxy server.

    Any parameter except proxy-address can be omitted. In this case, SSH Proxy will prompt for these parameters separately.

  2. Run the command in the terminal.

  3. Authenticate.

Connection to a Resource via PostgreSQL Proxy

caution

A special license is required to connect to the PostgreSQL resource.

  1. Click down-arrow.png next to the permission and select Copy Psql connection command.

  2. Run the copied command in the terminal.
    If you need to specify a reason for connection, enter it in the command after the username.

    Example of a command without a reason
      psql "postgresql://pamadmin%40pam.local%2310.10.1.105%23POSTGRESQL%5CAdmin@pam.axidian-id.hq:5432/postgres"
    Example command with a reason
      psql "postgresql://pamadmin%40pam.local%2310.10.1.105%23POSTGRESQL%5CAdmin%23reason-for-connection@pam.axidian-id.hq:5432/postgres"
  3. Complete authentication. If the administrator has configured session opening without re-authentication, credentials do not need to be entered.

    Example command with a reason and an authentication code
    psql "postgresql://pamadmin%40pam.local%2310.10.1.105%23POSTGRESQL%23reason-for-connection%230C6XI9IrGx:nopassword@pam.axidian-id.hq:5432/postgres"
    info

    When reusing a command, a password is required to be entered.

Connection to a Resource via MSSQL Proxy

caution

A special license is required to connect to the MSSQL resource.

  1. Click down-arrow.png next to the permission and select Copy sqlcmd connection command.

  2. Run the copied command in the terminal.
    If you need to specify a reason for connection, enter it in the command after the username.

    Example of a command without a reason
       sqlcmd -S pam.local,8081 -U ivan.ivanov#SQL -d master
    Example command with a reason
      sqlcmd -S pam.local,8081 -U ivan.ivanov#SQL#MSSQLuser#reason-for-connection -d master
  3. Complete authentication. If the administrator has configured session opening without re-authentication, credentials do not need to be entered.

    Example command with a reason and an authentication code
    sqlcmd -S pam.local,8081 -U ivan.ivanov#SQL#MSSQLuser#reason-for-connection#C6XI9IrGx:nopassword -d master
    info

    When reusing a command, a password is required to be entered.

Connection to a Resource via Web Proxy

Connect to the web application or website via a Web Proxy from the user's console.

To open a web resource in a new browser tab:

  1. Click Open in new tab next to the required permission.
  2. Specify the reason for the connection and click Confirm.

The session opens in a new browser tab. To terminate the session, close the tab.

Clipboard limitations

The clipboard supports text data only.

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.

caution

A special license is required to connect to the ad hoc resource.

  1. Click Specify connection address to the right of the required permission to the ad hoc resource.

  2. Select Connection type.

    info

    The available connection types are determined by the PAM administrator when granting permissions.

  3. Enter Connection address.

  4. Depending on the selected connection type, click one of the buttons: Copy SSH command or Download RDP file.

info

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.