Two Factor Authentication (2FA)Two factor authentication also known as 2FA, strengthens the login security by providing one time password (OTP) in addition to usernameand password. 2FA supports RADIUS authentications with Console, Telnet, and SSHv2.To perform 2FA, follow these steps:• When the Network access server (NAS) prompts for the username and password, provide the inputs.• If the credentials are valid:• RADIUS server sends a request to the SMS–OTP daemon to generate an OTP for the user.• A challenge authentication is sent from the RADIUS server as Reply–Message attribute.• If the Reply–Message attribute is not sent from the RADIUS server, the default text is the Response.• 2FA is successful only on providing the correct OTP.• If the credentials are invalid, the authentication fails.NOTE: 2FA does not support RADIUS authentications done with SSHv1, REST, Web UI, and OMI.Handling Access-Challenge MessageTo provide a two-step verification in addition to the username and password, NAS prompts for additional information. An Access-Challengerequest is sent from the RADIUS server to NAS.The RADIUS server returns one of the following responses:• Access-Challenge—If the user credentials are valid, the NAS server receives an Access-Challenge request from the RADIUS server.• Access-Accept—NAS validates the username and password. If the credentials are valid, the RADIUS server sends an Access-Requestto the short message service one time password (SMS-OTP) daemon to generate an OTP. The OTP is sent to the user’s e-mail ID ormobile. If the OTP is valid, the RADIUS server authenticates the 2FA user and sends an Access-Accept response to NAS.• Access-Reject—NAS validates the OTP and if the OTP is invalid, the RADIUS server does not authenticate the user and sends anAccess-Reject response to NAS.Configuring Challenge Response Authentication for SSHv2To configure challenge response authentication for SSHv2, perform the following steps:1 Enable challenge response authentication for SSHv2.CONFIGURATION modeip ssh challenge-response-authentication enable2 View the configuration.EXEC modeshow ip sshDell# show ip sshSSH server : enabled.SSH server version : v1 and v2.SSH server vrf : default.SSH server ciphers : aes256-ctr,aes256-cbc,aes192-ctr,aes192-cbc,aes128-ctr,aes128-cbc,3des-cbc.SSH server macs : hmac-sha2-256,hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96.SSH server kex algorithms : diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1.Password Authentication : enabled.832 Security