Configuring an SSH Connection to a CTP Platform That Persists Through the Session (CTPView Server Menu)
This topic describes how to configure the CTPView server so that an SSH connection remains established for the entire session when the CTPView server connects to a CTP platform.
SSH port forwarding creates an encrypted and protected connection between the CTPView software and a remote CTP platform, that remains up as long as the server connection to the platform is up. It must be enabled on both the CTP platform and the CTPView software; it is enabled on both by default. When this feature is not enabled, the CTPView server creates a separate SSH connection to the platform for each command and configuration change. This feature reduces overhead and increases performance of the CTPView software. You can choose to disable this feature or reenable it.
Before you begin, log in to the CTPView server and access the CTPView Configuration Menu. See Accessing the CTPView Server Configuration Menu (CTPView Server Menu).
To configure the CTPView server for port forwarding, you must first access the Port Forwarding Menu:
From the CTPView Configuration Menu, select 3) Port Forwarding.
The Port Forwarding Menu is displayed.
Viewing the Current State of Port Forwarding (CTPView Server Menu)
To display the current state of port forwarding on the CTPView server:
From the Port Forwarding Menu, select 1) View Current State.
The state is displayed, Allowed or Prohibited.
Setting Port Forwarding Permissions (CTPView Server Menu)
To set the permissions for port forwarding on the CTPView server:
- From the Port Forwarding Menu, select 2) Set Port Forwarding Permissions.
- Select 1) Allow or 2) Prohibit.
The new state is displayed.
Closing Port Forwarding Sockets (CTPView Server Menu)
To close all open port forwarding sockets on the CTPView server:
From the Port Forwarding Menu, select 3) Close Port Forwarding Sockets.
Clearing Open Sockets by Restarting the Apache Daemon (CTPView Server Menu)
When you configure port forwarding, you may want to clear all the open sockets that were used for the previous port forwarding configuration. You can do so by restarting the Apache daemon.
To restart the Apache daemon on the CTPView server:
From the Port Forwarding Menu, select 4) Restart Apache Daemon.
You can also restart the Apache daemon elsewhere in the server menus. From the CTPView Configuration Menu, select 7) CTPView Access Functions > 2) Restart Apache Daemon.