Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 02:05:52 -0500 (CDT)
From:      Stephen Cravey <cravey@gotbrains.org>
To:        Jonathan Chen <jon@FreeBSD.org>
Cc:        <bugs@FreeBSD.org>
Subject:   Re: bin/41327: skey decrementing but not authorizing with ssh
Message-ID:  <Pine.BSF.4.33.0208160156540.4379-100000@www.gotbrains.org>
In-Reply-To: <20020813070305.E16858@porthos.spock.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0208160156540.4379-100000>