To exit from a console session, Creating an ssh tunnel – Avocent 5240 User Manual

Page 37

Advertising
background image

Chapter 2: Accessing the MergePoint 5224/5240 Appliance and Target Devices 25

3.

If you have connected to the MergePoint 5224/5240 SP manager console as an administrative
or root user, type

/usr/bin/spshell

on the command line.

4.

Select the name of the target device to access.

5.

Press

Enter

or

Return

. A list of actions displays.

6.

Select the desired action from the menu that displays.

7.

If you have selected either Access the service processor’s console or Access the device's
console
when the console login prompt appears, log into the console.

To exit from a console session:

Perform one of the two following steps to exit from the console of an SP, server or device before
closing the terminal window:

On the command line of the terminal, type the

exit

command

[root@rdqailo /]# exit

-or-

Enter the hotkey combination

Ctrl

+

e

+

c.

The terminal window closes.

Creating an SSH Tunnel

As an alternative to using DirectCommand through the Web Manager, an authorized user can
access a native web application after creating an SSH tunnel using local port forwarding. An
arbitrarily chosen TCP port number on the user’s host is forwarded to the IP address of a target
device managed by the MergePoint 5224/5240 SP manager.

The prerequisites are shown in the following list:

The user’s workstation must be running an appropriate SSH client.

The authentication type configured for the target device must be the same as the authentication
method configured for the MergePoint 5224/5240 SP manager.

The user must be authorized for native IP access to the target device.

After the user creates the SSH tunnel and the user is authenticated, the user can launch a browser
that runs the native web application on the target device.

PuTTY on Windows and OpenSSH on Linux are some of the SSH clients available for creating an
SSH tunnel. The feature works with SSH protocol v1 and v2. See http://www.openssh.com tor
additional clients.

Common port numbers are: HTTP 80 and HTTPS 443

Our examples use port 443 for HTTPS for a target device whose IP address is 10.10.1.181.

The example local TCP port number used is 8080. You can select a random number over 1000.

Advertising
This manual is related to the following products: