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 [email protected]
This is a ssh banner.
Restricted access only!!
[email protected]'s password:

# ssh [email protected]
This is a ssh banner.
Restricted access only!!
[email protected]'s password: 
This is a post-login banner for consoleuser
(cli)