Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 16:08:44 +0100 (CET)
From:      mavetju@chello.nl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/24679: [patch] sshd: missing -V -Q option in Usage-options
Message-ID:  <20010127150844.6A74E3B7@d9168.upc-d.chello.nl>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010127150844.6A74E3B7>