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
  • Openssh

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content