From owner-freebsd-questions Sat May 26 16:43:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 08E9037B424 for ; Sat, 26 May 2001 16:43:19 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f4QNe8k06569; Sat, 26 May 2001 19:40:09 -0400 (EDT) Message-ID: <3B103F48.53519E5D@iowna.com> Date: Sat, 26 May 2001 19:42:00 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: david@banning.com Cc: questions@FreeBSD.ORG Subject: Re: ssh installation problem References: <200105270026.f4R0Q2700505@d.tracker> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Banning wrote: > > I just installed SSH acccording to the directions on mostgraveconcern.org What version of FreeBSD are you running? Versions after 4.1.1 and 3.5.1 have ssh installed with the base system. > I made the error of entering both lines; > > /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key (SSH-1) > # /usr/bin/ssh-keygen -d -N "" -f /etc/ssh/ssh_host_dsa_key (SSH-2) > > when I try /usr/sbin/sshd > I get the error ; > > error: ConnectionsPerPeriod has been deprecated! This says your ssh config file is outdated. A depreciated value won't cause ssh to malfunction, but it's a good indicator that you need to fix your config file. > I don't know if that is related to my error or not. > > sshd seems to be running, but since I haven't figured out how to do > a ssh login yet I don't even know whether it's effective. I'm guessing what you've done is installed an old version of ssh over top of the current version. Somehow the config file was replaced with the old config file, but you're still running the new version of ssh (pure speculation here) If you're running a newer version of FreeBSD that has ssh as part of the base system, deinstall the ssh package and use the system-based version. It can be configured to start up automagically via /etc/rc.conf. Getting a login via ssh is simple: ssh localhost should work to test. See man ssh for more details. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message