Skip to content

Tag: - Telnet Connection Postamble

Definition

When Osirium PAM connects to a device using Telnet, there is no authentication within the protocol itself. Instead the device will prompt for the user to enter a username and a password to authenticate themselves.

This authentication can sometimes be proceeded by a banner or disclaimer type message, and as the shell prompt of the device won't be seen until after authentication has taken place, information is needed by Osirium PAM about these messages and prompts.

Message of the day or banners can also be displayed after logon and before the shell prompt.

This tag has the following attributes:

Parameters

  • Element Text: (str): This is a regular expression that is used to match any message shown after successful authentication to the device.

The element text can be just the normal shell prompt if there is no banner displayed, but the shell prompt MUST be defined here as this definition is done before the :program:<shellprompt> tag is defined.

Example

A device that presents a Message Of The Day (MOTD) welcoming the user once they have logged in, might look like:

1
   <telnet_postamble>Welcome to this switch...</telnet_postamble>

Parent Tags

Child Tags

  • None