From owner-freebsd-bugs Sat Jan 27 7:10:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E96F637B402 for ; Sat, 27 Jan 2001 07:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0RFA1K18021; Sat, 27 Jan 2001 07:10:01 -0800 (PST) (envelope-from gnats) Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id AC58237B698 for ; Sat, 27 Jan 2001 07:08:45 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id 6A74E3B7; Sat, 27 Jan 2001 16:08:44 +0100 (CET) Message-Id: <20010127150844.6A74E3B7@d9168.upc-d.chello.nl> Date: Sat, 27 Jan 2001 16:08:44 +0100 (CET) From: mavetju@chello.nl Reply-To: mavetju@chello.nl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24679: [patch] sshd: missing -V -Q option in Usage-options Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24679 >Category: bin >Synopsis: [patch] sshd: missing -V -Q option in Usage-options >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 27 07:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.2-RELEASE i386 >Organization: - >Environment: FreeBSD 4.2, also checked it in the CVS repository on 1.6 and 1.21 >Description: sshd with an invalid parameter doesn't show the -V nor -Q option in the Usage-options >How-To-Repeat: sshd -a and check the output >Fix: [/usr/src/crypto/openssh] root@p6>diff -u sshd.c.old sshd.c --- sshd.c.old Sat Jan 27 15:57:22 2001 +++ sshd.c Sat Jan 27 16:05:33 2001 @@ -585,6 +585,7 @@ fprintf(stderr, " -d Debugging mode\n"); fprintf(stderr, " -i Started from inetd\n"); fprintf(stderr, " -q Quiet (no logging)\n"); + fprintf(stderr, " -Q Don't complain about missing RSA support\n"); fprintf(stderr, " -p port Listen on the specified port (default: 22)\n"); fprintf(stderr, " -k seconds Regenerate server key every this many seconds (default: 3600)\n"); fprintf(stderr, " -g seconds Grace period for authentication (default: 300)\n"); @@ -592,6 +593,8 @@ fprintf(stderr, " -h file File from which to read host key (default: %s)\n", HOST_KEY_FILE); fprintf(stderr, " -u len Maximum hostname length for utmp recording\n"); + fprintf(stderr, " -V client_protocol_id\n"); + fprintf(stderr, " Maximum hostname length for utmp recording\n"); fprintf(stderr, " -4 Use IPv4 only\n"); fprintf(stderr, " -6 Use IPv6 only\n"); exit(1); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message