Users Guide

236 Using the Local RACADM Command Line Interface
Configuring iDRAC6 Telnet and SSH Services Using Local RACADM
The telnet/SSH console can be configured locally (on the managed server)
using RACADM commands.
NOTE: You must have Configure iDRAC6 permission to execute the commands in
this section.
NOTE: When you reconfigure telnet or SSH settings in iDRAC6, any current
sessions are terminated without warning.
To enable telnet and SSH from the local RACADM, log in to the managed
server and enter the following commands at a command prompt:
racadm config -g cfgSerial -o cfgSerialTelnetEnable 1
racadm config -g cfgSerial -o cfgSerialSshEnable 1
To disable the telnet or SSH service, change the value from 1 to 0:
racadm config -g cfgSerial -o cfgSerialTelnetEnable 0
racadm config -g cfgSerial -o cfgSerialSshEnable 0
Enter the following command to change the telnet port number on iDRAC6:
racadm config -g cfgRacTuning -o cfgRacTuneTelnetPort
<new port number>
For example, to change the telnet port from the default 22 to 8022, enter this
command:
racadm config -g cfgRacTuning -o cfgRacTuneTelnetPort
8022
For a complete list of available RACADM CLI commands, see "Using the
Local RACADM Command Line Interface."
Using an iDRAC6 Configuration File
An iDRAC6 configuration file is a text file that contains a representation of
the values in the iDRAC6 database. You can use the RACADM getconfig
subcommand to generate a configuration file containing the current values
from iDRAC6. You can then edit the file and use the RACADM config -f
subcommand to load the file back into iDRAC6, or to copy the configuration
to other iDRACs.