Creating SSH Trust
-
- Last UpdatedMay 05, 2025
- 2 minute read
To load the configuration of the primary server onto the secondary server without having to enter a password each time, you need to create a trusted SSH connection between the two servers. This section provides the procedure for the AWS environment and for other environments.
AWS environment
To create a trusted SSH connection between the primary and secondary MX servers (on an AWS environment):
- Open an SSH connection to the secondary MX server.
- Login using root credentials.
- Manually configure a trusted SSH root connection between the MXs.
- Open an SSH connection to the primary MX server.
- Login using root credentials.
- Run the following command to set up the folder structure and allow the mxserver user to connect to the MX-DR:
impctl server dr create --ip=<secondary server IP address>
A confirmation message stating the connection was successfully set is displayed.
- Perform the procedure described in Loading Licenses.
Other environments
To create a trusted SSH connection between the primary and secondary MX servers (on a non-AWS environment):
- Open an SSH connection to the secondary MX server.
- Login using root credentials.
- Run the following command to enable the primary MX server to connect as root to the secondary MX server:
impctl hardening config --root-source-ip-exception=<primary server IP address>
- Open an SSH connection to the primary MX server.
- Login using root credentials.
- Run the following command to set up the folder structure and allow the mxserver user to connect to the MX-DR:
impctl server dr create --ip=<secondary server IP address>
- Type the password of the secondary MX server and hit Enter.
- A confirmation message stating the connection was successfully set is displayed.
- Perform the procedure described in Loading Licenses.