How do I set the number of failed login retries with SSH?

Updated -

For a SSH client connecting to the SSH server, three (3) is the default number of failed login retries. However, this can be modified by configuring the /etc/ssh/ssh_config file from the SSH client system and using the NumberOfPasswordPrompts directive. With NumberOfPasswordPrompts, its possible to specify the number of password prompts before giving up. ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.