Using Java Console with secure shell

You can use Java Console with secure shell (SSH) using X11 forwarding, or Port forwarding. Make sure that SSH is correctly configured on the client and the host systems.

To use x11 forwarding

  1. In the ssh configuration file, set ForwardX11 to yes.

ForwardX11 yes

  1. Log on to the remote system and start an X clock program that you can use to test the forward connection.

xclock &.

Do not set the DISPLAY variable on the client. X connections forwarded through a secure shell use a special local display setting.

To use port forwarding

In this mode the console connects to a specified port on the client system. This port is forwarded to port 14141 on the VCS server node.

  1. In the ssh configuration file, set GatewayPorts to yes.

GatewayPorts yes

  1. From the client system, forward a port (client_port) to port 14141 on the VCS server.

$ssh -L client_port:server_host:14141 server_host

You may not be able set GatewayPorts in the configuration file if you use openSSH. In this case use the -g option in the command.

$ssh -g -L client_port:server_host:14141 server_host

  1. Open another window on the client system and start the Java Console.

$/opt/VRTSvcs/bin/hagui

  1. Add a cluster panel in the Cluster Monitor. When prompted, enter the name of client system as the host and the client_port as the port. Do not enter localhost.