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 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.