Accessing the OnBoard and Connected Devices > Accessing the Console of a Device Through the OnBoard’s Console or By Using SSH

Accessing the Console of a Device Through the OnBoard’s Console or By Using SSH
Any type of authorized user can access the console of a connected service processor, server, or device using one of the two following means:
Invoking the ssh command along with one of the two following OnBoard-specific device management commands:
See Device Management Commands for Use With SSH for the format of the ssh command line when a device management command is used, if desired.
To Use a SSH Command to Connect Directly to a Device’s or Service Processor’s Console
This procedure assumes the following are true:
You have access to the ssh command on the command line of your computer
You know the user name and password of an OnBoard user account that is authorized to access the console of a device or service processor.
Enter ssh with the -t option followed by the username, followed by a colon (:), followed by the alias, followed by the “at” sign (@), followed by the IP address of the OnBoard, followed by the devconsole or spconsole command.
% ssh -t username:device_alias@onboard_IP_or_DNS_name \ [devconsole | spconsole]
1.
To connect directly to the device’s console, use the ssh command with the devconsole command.
The following screen example shows entering ssh with the username francisco, the device alias rsa_au, the OnBoard IP address 192.168.44.111 and the devconsole command.
% ssh -t francisco:rsa_au@192.168.44.111 devconsole
2.
The following screen example shows entering ssh with the username francisco and the IP address 192.168.44.111 with the spconsole command on the command line.
% ssh -t francisco:rsa_au@192.168.44.111 spconsole
3.
When the login prompt appears, log into the console using the username and password configured for the device or service processor.
Login: root
Password:
To Use OnBoard’s Console Menus to Access the Device Management Options
1.
If you have connected to the OnBoard’s console as an non-administrative user, the user shell menu displays.
2.
If you are a non-administrative user, use the arrow keys on your keyboard to navigate to “Access Devices” option on the menu and press Return.
3.
4.
5.
A list of actions displays.
6.
7.
If you have selected either “Access the service processor's console” of “Access the device's console, when the console login prompt appears, log into the console using the username and password configured for the device or service processor.
Login: root
Password:
To Exit from a Console Session
Perform one of the two following steps to exit from the console of the service processor, server, or device before closing the terminal window.
1.
2.
Ctrl+e+c+.
The terminal window closes.

Accessing the OnBoard and Connected Devices > Accessing the Console of a Device Through the OnBoard’s Console or By Using SSH