From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 12:09:47 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 CDE8A16A4B3 for ; Wed, 17 Sep 2003 12:09:47 -0700 (PDT) Received: from mta7.adelphia.net (mta7.adelphia.net [68.168.78.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id F014343FBF for ; Wed, 17 Sep 2003 12:09:46 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([24.53.179.151]) by mta7.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with ESMTP id <20030917190948.DERC3926.mta7.adelphia.net@potentialtech.com>; Wed, 17 Sep 2003 15:09:48 -0400 Message-ID: <3F68B17A.1060205@potentialtech.com> Date: Wed, 17 Sep 2003 15:09:46 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marc Ramirez References: <3F68AECD.8030500@potentialtech.com> <20030917150108.H88414@www.bluecirclesoft.com> In-Reply-To: <20030917150108.H88414@www.bluecirclesoft.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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:09:47 -0000 Marc Ramirez wrote: > On Wed, 17 Sep 2003, 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? > > mrami@www[/usr/src] > $ sshd -v > sshd: illegal option -- v > sshd version OpenSSH_3.5p1 FreeBSD-20030201 > Usage: sshd [options] > Options: > -f file Configuration file (default /etc/ssh/sshd_config) > -d Debugging mode (multiple -d means more debugging) > -i Started from inetd > -D Do not fork into daemon mode > -t Only test configuration file and keys > -q Quiet (no logging) > -p port Listen on the specified port (default: 22) > -k seconds Regenerate server key every this many seconds (default: 3600) > -g seconds Grace period for authentication (default: 600) > -b bits Size of server RSA key (default: 768 bits) > -h file File from which to read host key (default: > /etc/ssh/ssh_host_key) > -u len Maximum hostname length for utmp recording > -4 Use IPv4 only > -6 Use IPv6 only > -o option Process the option as if it was read from a configuration > file. > mrami@www[/usr/src] > $ > > Although, apparently, it's not entirely accurate WRT the patch... This is > what I get after having supped and only rebuilt sshd... I'm doing a > buildworld right now, which might give different results. That's funny. I was too busy noticing that -v was an illegal option to notice that it provided the requested information anyway! -- Bill Moran Potential Technologies http://www.potentialtech.com