set-banner
Last Updated January 31, 2025

This reference includes examples for the syntax information for the
set-banner
command.
Command
Description
Usage
Examples
set-banner
Sets the
ssh
banner.
Sets the post-login banner for
consoleuser
.
set-banner [-h] {support,consoleuser} banner
set-banner support
“Text”
set-banner consoleuser “Text”
Syntax
Flag
Description
positional arguments:
{support,consoleuser}
  banner  

Quoted text with \n for new 
line
Example invocations:
(cli) set-banner support "This is a ssh banner.\nRestricted access only!!"
Successfully set banner!
(cli) set-banner consoleuser "This is a post-login banner for consoleuser"
Successfully set banner!
(cli) logout

# ssh support@10.126.55.193
This is a ssh banner.
Restricted access only!!
support@10.126.55.193's password:

# ssh consoleuser@10.126.55.193
This is a ssh banner.
Restricted access only!!
consoleuser@10.126.55.193's password: 
This is a post-login banner for consoleuser
(cli)