From edwin@d9168.upc-d.chello.nl  Sat Jan 27 07:08:46 2001
Return-Path: <edwin@d9168.upc-d.chello.nl>
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 <FreeBSD-gnats-submit@freebsd.org>; 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
Subject: [patch] sshd: missing -V -Q option in Usage-options
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 27 07:10:01 PST 2001
>Closed-Date:    Mon Jan 29 02:47:09 PST 2001
>Last-Modified:  Mon Jan 29 02:47:46 PST 2001
>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:

From: Peter Pentchev <roam@orbitel.bg>
To: mavetju@chello.nl
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/24679: [patch] sshd: missing -V -Q option in Usage-options
Date: Sat, 27 Jan 2001 19:09:23 +0200

 On Sat, Jan 27, 2001 at 04:08:44PM +0100, mavetju@chello.nl wrote:
 > 
 > >Number:         24679
 > >Category:       bin
 > >Synopsis:       [patch] sshd: missing -V -Q option in Usage-options
 > >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:
 [snip]
 
 Shouldn't this be taken up with the OpenSSH folks, and fixed in the 'real'
 source? 
 
 G'luck,
 Peter
 
 -- 
 If there were no counterfactuals, this sentence would not have been paradoxical.
 

From: Edwin Groothuis <mavetju@chello.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Peter Pentchev <roam@orbitel.bg>
Subject: Re: bin/24679: [patch] sshd: missing -V -Q option in Usage-options
Date: Sun, 28 Jan 2001 21:42:43 +0100

 On Sat, Jan 27, 2001 at 07:09:23PM +0200, Peter Pentchev wrote:
 > Shouldn't this be taken up with the OpenSSH folks, and fixed in the 'real'
 > source? 
 
 Got this from the OpenSSH developers:
 
 Synopsis: [patch] sshd.c: missing -V -Q option in Usage-options
 
 State-Changed-From-To: open->closed
 State-Changed-By: markus
 State-Changed-When: Sun Jan 28 13:32:16 MST 2001
 State-Changed-Why:
 -Q is obsolete since Sep 2000 and is only accepted for backward compatibility
 -V is not for internal use only (by lsh and ssh.com for ssh-1 fallback).
 and will not be documented in usage().
 
 Please close this PR.
 
 Edwin
 
 -- 
 Edwin Groothuis   |           Interested in MUDs? Visit Fatal Dimensions:
 mavetju@chello.nl |                     http://fataldimensions.nl.eu.org/
 ------------------+               telnet://fataldimensions.nl.eu.org:4000
 
State-Changed-From-To: open->closed 
State-Changed-By: dwmalone 
State-Changed-When: Mon Jan 29 02:47:09 PST 2001 
State-Changed-Why:  
Closed at submitters request after discussion with 
OpenSSH developers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24679 
>Unformatted:
