LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices



Reply
 
Search this Thread
Old 07-05-2006, 01:41 PM   #1
Minnie Nguyen
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
Where to turn SSHv1 protocol and SSHv2 protocol on and off


On Red Hat Linux Enterprise version 3, I see in the /etc/ssh directory, the file sshd_config which has entries for SSHv1 and SSHv2 protocol. Howevr, majority of the entries are commented out. SSHv1 and SSHv2 are enabled since I can ssh to the remote ssh server host.

Where do I turn SSHv1 or SSHv2 on and off?
 
Old 07-05-2006, 02:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it's thie bit that says somethign like
Code:
#Protocol 2,1
Protocol 2
that's only using v2, swap the # comment tag over and it will try v2 first then v1
 
Old 07-05-2006, 02:22 PM   #3
Minnie Nguyen
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
it's thie bit that says somethign like
Code:
#Protocol 2,1
Protocol 2
that's only using v2, swap the # comment tag over and it will try v2 first then v1
I know where in the sshd_config file to turn on SSHv1 and SSHv2 on and off; however, majority of the lines including the above are commented out. When I uncommented the protocols for SSHv1 and SSHv2, and restarted the ssh daemon, ssh stopped working.
 
Old 07-05-2006, 03:12 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
i guess you did i wrong then... you'd only have one single protocol line. using ssh debugging is very useful to see what's going on. just enable it on the command line in the client and you'll get lots more useful info.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Protocol 50 jspsandhu Linux - Networking 6 08-11-2007 12:17 PM
writing protocol in C mishu11 Linux - Networking 1 08-15-2004 02:55 AM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 09:24 AM
protocol Eddie9 Linux - General 1 06-06-2002 02:55 AM
Which protocol is better SkYzOpReNiCk Linux - Security 1 11-06-2001 01:51 PM


All times are GMT -5. The time now is 09:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration