From owner-freebsd-questions Tue Jun 25 20:39:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by hub.freebsd.org (Postfix) with ESMTP id 27E8337B404 for ; Tue, 25 Jun 2002 20:39:15 -0700 (PDT) Received: from daleco [12.145.236.48] by mail.gbronline.com (SMTPD32-7.10) id A704F3A0068; Tue, 25 Jun 2002 22:37:40 -0500 Message-ID: <031201c21cc2$f8914ba0$30ec910c@fbccarthage.com> From: "Kevin Kinsey, DaleCo, S.P." To: Cc: , References: <002301c21c8f$833d9f30$0701a8c0@darryl> <011601c21c90$69ee79e0$30ec910c@fbccarthage.com> <20020626000834.GA303@helios.sr.nextrials.com> Subject: Re: How to determine version of SSH Date: Tue, 25 Jun 2002 22:38:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- Original Message ----- From: "Jim Mock" To: "Kevin Kinsey, DaleCo, S.P." Cc: ; Sent: Tuesday, June 25, 2002 7:08 PM Subject: Re: How to determine version of SSH > 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 Thanks, but is it really? [UNIX is so sensitive in this case ;-) ] kadmin@archangel-# sshd -V sshd: option requires an argument -- 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 Doesn't look much different, or better. Maybe something's wrong with my config? KDK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message