8.6. Procedure to remote connection to the CLI using SSH via the iDRAC interface in serial port forwarding mode

A - Introduction

This connection is not the normal way to access the GCap but enables access to the GCap in the event of problems.
This procedure describes the remote connection from a distant PC using :
  • 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` command
    After 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

  1. Perform the network configuration (IP address of the iDRAC)

C - Procedure

    • On the remote PC running Linux:

    1. Open a command prompt

    2. Enter the command
      ssh identifiant@adresse_ip
      
      For example, `ssh setup@gcenter` where
      • `setup` is the identifier and

      • x.x.x.x is the IP address of the GCap's iDRAC port

    3. Validate the command

    4. Enter password of the entered login

    5. Press `Enter` to display all available commands and a short explanation

    • On a Windows PC:

    1. Open an SSH client software, such as Putty

    2. Enter the IP address of the GCap iDRAC interface and confirm

  1. Enter the command

    racadm>>console com2
    
  2. Validate
    The system now displays the graphical interface of the device
    Following this action, a new page will open. It will be possible to interact with the GCap
  3. Log on to the CLI.
    gcap-cli
    
  4. Validate
    After 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

It is possible to open an SSH connection, run a CLI command line and then close the connection.
To do this:
  1. Enter the command

    ~$ ssh -t setup@x.x.xx.x show status
    
  2. Validate
    The system:
    • Opens the SSH connection

    • Executes the command (here `show status) then

    • Closes 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.