How to disable ssh1 and force sshd to accept protocol 2 connections (ssh2)

Updated -

Release Found: Red Hat Enterprise Linux 3, 4, 5, 6, and 7

Configuration of sshd

The ssh daemon in Red Hat Enterprise Linux uses the configuration file /etc/ssh/sshd_config. The daemon is set by default to accept both SSH protocol versions 2 and 1, and has an entry in the configuration file:

# Protocol 2,1

To force the...

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