How to disable timeout in ssh during login prompt

Solution Verified - Updated -

Issue

  • It's automatically disconnected after 60 seconds in login prompt if you don't input anything
  • How could I disable this auto disconnection as I need more time to put my login details
$ time ssh -l user1  mytest.example.com
Password:
Connection closed by 10.0.0.1

real    3m05.000s
user    0m0.025s
sys     0m0.005s

Environment

  • Red Hat Enterprise Linux

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.