SSH (VPN)
This article details the settings available for SSH VPN entries in Remote Desktop Manager. An SSH VPN entry opens an SSH tunnel with the built-in SSH client of Remote Desktop Manager, so that the sessions linked to it connect through the SSH server. It is a different entry type from SSH gateway.
SETTINGS
DESCRIPTION
Name
The name of the entry.
Folder
The folder where the entry is located.
Display
How the entry opens. This entry type only supports External, so the display mode cannot be changed.
Host
Where the host of the SSH server comes from. When the host comes from another entry, the Host field of the Connection tab is disabled.
Credentials
How the credentials of the entry are provided. When the credentials do not come from the entry itself, the Username and Password fields of the Connection tab are disabled.
VPN type
The type of VPN the entry opens. Select another type from the list to change the VPN client used by the entry.
Connection
The Connection tab contains the General, SSH key, Proxy, SSH gateway, Logs and Advanced tabs of the SSH connection. Except for the settings below, they are the same as for SSH tunnel entries.
General
Host
The host name or IP address of the SSH server. Disabled when the host comes from another entry.
Port
The port of the SSH server. The default port is 22.
Set host public key
Saves the expected public key of the SSH server.
Username
The SSH username. Disabled when the credentials do not come from the entry.
Password
The SSH password. Disabled when the credentials do not come from the entry, when Always ask for password is selected, or when the Disable password saving in vaults system setting is enabled.
Always ask for password
Prompts for the password each time the VPN opens.
Password prompt string
The text of the server prompt that asks for the password.
OTP prompt string
The text of the server prompt that asks for a one-time password.
Use smart card
Signs in with a smart card. When selected, choose the Certificate method and enter the PIN code.
Configuration
How the tunnel is configured:
Simple — Remote Desktop Manager forwards a local port to the host and port of each session that uses the VPN. New entries use this value.
Advanced — the tunnel is defined in Outgoing tunnel settings.
Outgoing tunnel settings (shown with the Advanced configuration)
Mode
The type of port forwarding: Local (default), Remote or Dynamic.
Source
The source address of the tunnel. The default value is 127.0.0.1. Required.
Source port
The source port of the tunnel. The default port is 3390. Hidden when Use dynamic port is selected.
Destination
The destination host and port of the tunnel. The default port is 3389. Disabled with the Dynamic mode; required with the other modes.
Use dynamic port
Uses a free local port chosen when the VPN opens, instead of Source port.
Force "localhost"
Whether the sessions that use the VPN connect to localhost: Default, Yes or No. Enabled when Use dynamic port is selected.
Advanced
Go offline on connection
Switch Remote Desktop Manager to offline mode when the VPN connects.
Close connection after
Close the VPN automatically after the number of minutes entered in the field, from 0 to 4320.
Detect reachable host in wait
Detect whether the host can be reached while waiting for the VPN to connect.
VPN reconnect mode
How Remote Desktop Manager handles the VPN when it reconnects:
Default
Reconnect VPN
Leave VPN open
Go online on disconnect after
Switch Remote Desktop Manager back to online mode after the VPN disconnects, once the number of seconds entered in the field has elapsed, from 0 to 180.
Use adapter to detect connection
Use the network adapter to detect whether the VPN is connected.
After execution, wait
What Remote Desktop Manager waits for after starting the VPN:
Delay — Wait for the number of seconds entered in the field, from -1 to 180.
For IP on adapter — Wait for the network adapter entered in the field to obtain an IP address. Enter an adapter name or a device name, or leave the field blank. Click the browse button to select an adapter.
Wait a maximum of
With For IP on adapter, the maximum number of seconds to wait for the adapter to obtain an IP address, from -1 to 180.
Then delay
With For IP on adapter, an additional delay in milliseconds once the adapter has an IP address, from -1 to 180000 in increments of 100.
Commands
The list of VPN commands, with their Name, After connection command, and Before disconnecting command. Use Add, Edit, Delete, Move up, and Move down to manage the list. The commands are available only when After execution, wait is set to For IP on adapter, and are not supported on macOS.
After connecting, VPN command enabled
Run the After connection command of the listed commands once the VPN is connected. Available only when After execution, wait is set to For IP on adapter. Not supported on macOS.
Before disconnecting, VPN command enabled
Run the Before disconnecting command of the listed commands before the VPN disconnects. Available only when After execution, wait is set to For IP on adapter. Not supported on macOS.
Run routes in batch (forces elevated privileges)
Run the commands as a batch. This option requires elevated privileges. Available only when After execution, wait is set to For IP on adapter. Not supported on macOS.
Last updated
Was this helpful?