From owner-freebsd-bugs Fri Aug 16 0: 5:58 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC4BA37B400; Fri, 16 Aug 2002 00:05:54 -0700 (PDT) Received: from www.gotbrains.org (www2.gotbrains.org [206.180.149.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DCEA43E6A; Fri, 16 Aug 2002 00:05:54 -0700 (PDT) (envelope-from cravey@gotbrains.org) Received: from www.gotbrains.org (localhost [127.0.0.1]) by www.gotbrains.org (8.12.3/8.12.3) with ESMTP id g7G75rj9004533; Fri, 16 Aug 2002 02:05:53 -0500 (CDT) (envelope-from cravey@gotbrains.org) Received: from localhost (cravey@localhost) by www.gotbrains.org (8.12.3/8.12.3/Submit) with ESMTP id g7G75qKd004530; Fri, 16 Aug 2002 02:05:53 -0500 (CDT) X-Authentication-Warning: www.gotbrains.org: cravey owned process doing -bs Date: Fri, 16 Aug 2002 02:05:52 -0500 (CDT) From: Stephen Cravey To: Jonathan Chen Cc: Subject: Re: bin/41327: skey decrementing but not authorizing with ssh In-Reply-To: <20020813070305.E16858@porthos.spock.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've managed to find the problem. I think. I was running into another problem that I was about to report that I think I mentioned to you in private. I was getting a double prompt: Password: Response: where the cursor would be at Response: I checked through the code and found the only mention of a Response: prompt was in sshconnect1.c So i went poking a bit more. Noticing a sshconnect2.c, I assumed that they refered to the protocol number. (I Use ssh1 for historic reasons) Instead of 'ssh localhost', I ran 'ssh -1 localhost' and got the same error (go figure. It's the default protocol in ssh_config) then I tried 'ssh -2 localhost' and the double prompt went away. So I reran keyinit and lo and behold, the issue does not manifest when using ssh2. I have upgraded to 4.6.2-RELEASE and the problem is still there. Again, ssh2 doesn't have the issue so please try ssh1 and see what happens if you haven't already. I'm guessing the double prompting is related, so I won't open a second PR for it. Thank you. -Stephen SNIP > > I can't seem to duplicate your problem here. If you run sshd with > debugging (you can run it on a different port), you'll get more output > regarding what failed. If you can, send me a copy of that and I'll take a > look. > > -Jon > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message