Skip to Content

Is it possible to disable security codes in ssh gateway?

Disable Security Codes in SSH Gateway.


Overview: This article describes an FAQ where you can not disable the security code being prompted during login. 


Note: The static security code is used only when 2FA is not enabled.

  • It is not possible to disable the security code that is prompted when you ssh into your Jump server.  Doing it would introduce a security hole as it would let users with root access to your Jump server box by simply switching from users and getting access to all the servers in the gateway.

:~# su - <username>

  • We would recommend adding SSH RSA keys so that you don’t have to paste long passwords and instead just have to enter a security code and hence would log in with just one step, except that you would be entering the security codes/2FA instead of passwords.
    Also, you may want to try out two-factor authentications like DUO SECURITY which lets you authenticate with a tap on your mobile so that you don't have to even worry about typing /pasting anymore.

Related Articles:

Scenarios where security code is prompted.

How to reset password/security code.

Reset the admin user password or security code.