LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 01:12 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 01: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, 02:12 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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



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 11:17 AM
writing protocol in C mishu11 Linux - Networking 1 08-15-2004 01:55 AM
Unsupported protocol 'Compression Control Protocol' (0x80fd) received RKris Linux - Software 0 08-21-2002 08:24 AM
protocol Eddie9 Linux - General 1 06-06-2002 01:55 AM
Which protocol is better SkYzOpReNiCk Linux - Security 1 11-06-2001 12:51 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:08 PM.

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
Open Source Consulting | Domain Registration