From owner-freebsd-questions Tue Jun 25 17: 8:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id 90C6937B403 for ; Tue, 25 Jun 2002 17:08:36 -0700 (PDT) Received: (qmail 19216 invoked from network); 26 Jun 2002 00:08:35 -0000 Received: from unknown (HELO helios.sr.nextrials.com) ([64.81.74.130]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 26 Jun 2002 00:08:35 -0000 Received: from helios.sr.nextrials.com (jim@localhost.sr.nextrials.com [127.0.0.1]) by helios.sr.nextrials.com (8.12.4/8.12.4) with ESMTP id g5Q08Zk9006740; Tue, 25 Jun 2002 17:08:35 -0700 (PDT) (envelope-from mij@nextrials.com) Received: (from jim@localhost) by helios.sr.nextrials.com (8.12.4/8.12.4/Submit) id g5Q08YQr006739; Tue, 25 Jun 2002 17:08:34 -0700 (PDT) (envelope-from mij@nextrials.com) Date: Tue, 25 Jun 2002 17:08:34 -0700 From: Jim Mock To: "Kevin Kinsey, DaleCo, S.P." Cc: darryl@osborne-ind.com, freebsd-questions@FreeBSD.ORG Subject: Re: How to determine version of SSH Message-ID: <20020626000834.GA303@helios.sr.nextrials.com> Reply-To: mij@nextrials.com References: <002301c21c8f$833d9f30$0701a8c0@darryl> <011601c21c90$69ee79e0$30ec910c@fbccarthage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <011601c21c90$69ee79e0$30ec910c@fbccarthage.com> User-Agent: Mutt/1.5.1i 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 On Tue, 25 Jun 2002 at 16:36:48 -0500, Kevin Kinsey, DaleCo, S.P. wrote: > I've seen a little confusion on this. Here's why: > > #sshd -v > sshd: illegal option -- v > sshd version OpenSSH_2.9 FreeBSD localisations 20020307 > 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 > -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 > > As you can see, you do get a version number. I > wonder why they didn't follow the convention and > write in a "-v" option. They did, but it's -V. - jim -- jim mock http://soupnazi.org/ | jim@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message