8.6. Procedure to remote connection to the CLI using SSH via the iDRAC interface in serial port forwarding mode
A - Introduction
The network connection to the iDRAC port of the GCap
A connection tool via SSH
This access requires:
Knowledge of the iDRAC login name and password (iDRAC access)
The network configuration is complete (IP address of the iDRAC is known)
From the interface, it is possible to:
View the operating system messages
Connect to the GCap via the CLI console
Tip
If a password error occurs, the protection system will be activated
- To view the policy setting on the Gcap, use the
`show bruteforce-protection`commandAfter a certain number of failures, the account will be locked To unlock it: either wait, or use the
`system unlock`command with a higher privilege level account
To perform this procedure, you must perform all the steps described in the following sections:
B - Prerequisites
User: setup
B - Preliminary operations
- Perform the network configuration (IP address of the iDRAC)Otherwise, use Procedure to connect directly to the GCap via keyboard and screen to connect to the GCap
C - Procedure
On the remote PC running Linux:
Open a command prompt
- Enter the command
ssh identifiant@adresse_ip
For example,`ssh setup@gcenter`where`setup`is the identifier andx.x.x.x is the IP address of the GCap's iDRAC port
Validate the command
Enter password of the entered login
Press
`Enter`to display all available commands and a short explanation
On a Windows PC:
Open an SSH client software, such as Putty
Enter the IP address of the GCap iDRAC interface and confirm
Enter the command
racadm>>console com2
- ValidateThe system now displays the graphical interface of the deviceFollowing this action, a new page will open. It will be possible to interact with the GCap
- Log on to the CLI.
gcap-cli
- ValidateAfter connection, the following message is displayed:
(gcap-cli)
Note
Press Tab to display all available commands
Press Entrée to display all available commands along with a short explanation
D - Special cases
Enter the command
~$ ssh -t setup@x.x.xx.x show status
- ValidateThe system:
Opens the SSH connection
Executes the command (here
`show status) thenCloses the SSH connection
GCAP Name : Version : z.z.z Paired on GCenter : Not paired Tunnel status : Down Detection Engine : Up and running © Copyright GATEWATCHER 202 Connection to ... closed.