aaa authentication ssh two-factor

Syntax

aaa authentication ssh [enable | login]
 two-factor [local | none | authorized | 
 server-group <server-group> | two-factor-type]
      

Description

Set two-factor authentication method as the primary authentication method.

Options

local

Use local switch user/password database.

none

Do not use backup authentication methods.

authorized

Allow access without authentication.

server-group

Specify the server group to use.

two-factor-type

Use the certificate or public key for the first authentication method and username/password for the second authentication method.