Operating System - Linux
1820290 Members
2880 Online
109622 Solutions
New Discussion юеВ

Re: SSH version protocol 1 to 2

 
girishb
Frequent Advisor

SSH version protocol 1 to 2

Hi,

We have RHEL 3.0 and Redhat Linux 7.0,9.0 OS installed on the Servers.

How do I check what version of SSH protocol is currently running... I guess it is SSH protocols 1.0.

I need to know how to upgrade the protocol version to 2.0

I did ssh -V at the prompt which resulted:
OpenSSH_3.1p1, SSH protocols 1.5/2.0

Thanks in advance for the quick response

Regards
Girish
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: SSH version protocol 1 to 2

Shalom,

Its probably ssh 2, which has been around for some time.

There is a config file in /etc or /etc/ssh or /etc/openssh depending on your distribution.

vi sshd_config

You can set it to accept only ssh 2. If at this point nobody can login, I'm wrong and you are right in your guess.

ssh1 was cracked some years ago and ssh2 was added in to overcome the problems and vulnerabilities of ssh1. This was done I believe prior to RH 7.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
girishb
Frequent Advisor

Re: SSH version protocol 1 to 2

Can some one tell me how to check Red Hat Enterprise Linux 3.0 uses SSH version 2

any command to check....

Also, i need for Redhat Linux 8.0 and 9.0
Ivan Ferreira
Honored Contributor

Re: SSH version protocol 1 to 2

As SEP said, edit /etc/ssh/sshd_config and set:

Protocol 2

Then from a client use:

ssh -2 user@hostname

This will force the use of version 2 protocol only.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?