From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 12:07:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF03416A4BF for ; Wed, 17 Sep 2003 12:07:05 -0700 (PDT) Received: from smtp4.knology.net (smtp4.knology.net [24.214.63.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 5FDD643FDF for ; Wed, 17 Sep 2003 12:07:04 -0700 (PDT) (envelope-from dkelly@grumpy.dyndns.org) Received: (qmail 23956 invoked from network); 17 Sep 2003 19:06:56 -0000 Received: from unknown (HELO grumpy.dyndns.org) (24.214.34.52) by smtp4.knology.net with SMTP; 17 Sep 2003 19:06:56 -0000 Received: from grumpy.dyndns.org (localhost [127.0.0.1]) by grumpy.dyndns.org (8.12.9/8.12.9) with ESMTP id h8HJ6tDA026658; Wed, 17 Sep 2003 14:06:55 -0500 (CDT) (envelope-from dkelly@grumpy.dyndns.org) Received: (from dkelly@localhost) by grumpy.dyndns.org (8.12.9/8.12.9/Submit) id h8HJ6tUc026585; Wed, 17 Sep 2003 14:06:55 -0500 (CDT) Date: Wed, 17 Sep 2003 14:06:54 -0500 From: David Kelly To: Bill Moran Message-ID: <20030917190654.GD73620@grumpy.dyndns.org> References: <3F68AECD.8030500@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F68AECD.8030500@potentialtech.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: How to determine the version of sshd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 19:07:05 -0000 On Wed, Sep 17, 2003 at 02:58:21PM -0400, Bill Moran wrote: > ssh has the -V switch to display the version. > > sshd does not appear to have similar functionality. Is there a way to > verify the version of sshd running on a FreeBSD system? % sshd -d The above will not background, and when it finds the port in use it will die. Or in this case it dies becuase as non-root it couldn't read the files it needed: debug1: sshd version OpenSSH_3.6.1p1 FreeBSD-20030916 Could not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.