Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-23-2005, 10:20 AM   #1
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Rep: Reputation: 30
Setting SSHD to use protocol 2 instead of 1

I have sshd running on a few boxes (version is 3.4) and would like to make sure they are accepting only protocol 2 instead of 1. Does anyone know how i can force my sshd to accept only protocol 2 connections and not 1?


Harlin Seritt
Old 11-23-2005, 10:47 AM   #2
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
In /etc/ssh/ssh_config, change this

Protocol 2,1
to this

Protocol 2
(and then restart sshd)
Old 11-23-2005, 01:36 PM   #3
Registered: Dec 2004
Location: Atlanta, GA U.S.
Distribution: I play with them all :-)
Posts: 316

Original Poster
Rep: Reputation: 30
Thanks much. I just wasn't sure where the actual config file was


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
[DEBIAN SARGE] problems setting up sshd to use tcpwrapper nonutopia Linux - Security 1 08-23-2005 09:04 AM
Problems Setting up SSHD nistelrooy Red Hat 1 11-10-2004 11:09 PM
Setting up sshd floyd Linux - Networking 1 05-17-2004 08:48 AM
setting up a protocol in guarddog sigma957 Linux - Security 1 12-16-2003 06:35 PM
sshd with protocol 2 fuzzion Linux - General 1 12-01-2001 11:41 AM

All times are GMT -5. The time now is 05:20 PM.

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