chbanner

Use the chbanner command to configure the login message that is displayed during CLI Secure Shell (SSH) login.

Syntax

 chbanner    [  -file file_path ]   [  -enable  ]   [  -disable  ]   [  -clear  ]  

Parameters

-filefile_path
(Optional) Specifies the path to the file on the configuration node that contains the new login message.
-enable
(Optional) Enables the login message.
-disable
(Optional) Disables the login message.
-clear
(Optional) Clears the login message.

Description

This command configures the login message that is displayed during CLI SSH login. Use this command for warnings or disclaimers or anything else you need to display in your login screen before logging in.

The file that contains the login message must be copied to the configuration node before you specify chbanner -file. If a configuration node failover occurs between copying the file that contains the login message and running the command, the temporary file must be copied to the new configuration node.

To set a login message that uses a SAN administrator's workstation:
  1. Use a suitable text editor to create the message and save the file with a recognizable name.
  2. Use a secure copy client to copy the file to the configuration node of the system to be configured.
  3. Specify the management IP address of the system that is to be configured.
  4. Log into the system to be configured.
  5. Use the chbanner command to set the login message.

An invocation example

 chbanner -file /tmp/loginmessage

The detailed resulting output:

No feedback

An invocation example

chbanner -enable

The detailed resulting output:

No feedback

An invocation example

chbanner -disable

The detailed resulting output:

No feedback

An invocation example

chbanner -clear

The detailed resulting output:

No feedback