Date: Fri, 9 Aug 2002 08:49:45 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Andreas Wideroe Andersen <awand@pragma.no> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Disabling OpenSSH protocol 1 Message-ID: <20020809074945.GD86506@happy-idiot-talk.infracaninophi> In-Reply-To: <3D53709B.4070700@pragma.no> References: <3D53709B.4070700@pragma.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 09, 2002 at 09:34:51AM +0200, Andreas Wideroe Andersen wrote:
> However, I would like to use OpenSSH2 without support for SSH
> protocol 1. Can someone please explain how I disable support for
> this protocol?
In /etc/ssh/sshd_config change the line that says:
#Protocol 2,1
to say:
Protocol 2
and then:
kill -HUP `cat /var/run/sshd.pid`
That means that the sshd server on your system will only accept
incoming connections using the SSHv2 protocol. You can change the
default for outgoing connections by adding:
Host *
Protocol 2
to /etc/ssh/ssh_config, however users can override this in their
~/.ssh/config files should they want to. See the ssh_config(5) man
page for details.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
Tel: +44 1628 476614 Marlow
Fax: +44 0870 0522645 Bucks., SL7 1TH UK
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020809074945.GD86506>
