This is a multi-part message in MIME format.
--------------070608070702090306070206
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

James Supancic wrote:
> My /dev/tty is now exactly the same as yours.
> This is the -vvv output from the failed connection attempt (it didn't
> ask for a password)

[...]

Hmm, there's nothing obvious in there. Could you please try it again
(ssh -vvv) with the attached patch?

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

--------------070608070702090306070206
Content-Type: text/plain;
name="openssh-readpass-debug.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="openssh-readpass-debug.patch"

Index: readpass.c
================================================== =================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/readpass.c,v
retrieving revision 1.29
diff -u -p -r1.29 readpass.c
--- readpass.c 5 Nov 2004 09:38:03 -0000 1.29
+++ readpass.c 23 Apr 2005 09:15:58 -0000
@@ -107,14 +107,18 @@ read_passphrase(const char *prompt, int
use_askpass = 1;
else if (flags & RP_ALLOW_STDIN) {
if (!isatty(STDIN_FILENO))
+ debug("read_passphrase: stdin is not a tty");
use_askpass = 1;
} else {
rppflags |= RPP_REQUIRE_TTY;
ttyfd = open(_PATH_TTY, O_RDWR);
if (ttyfd >= 0)
close(ttyfd);
- else
+ else {
+ debug("read_passphrase: can't open %s: %s", _PATH_TTY,
+ strerror(errno));
use_askpass = 1;
+ }
}

if ((flags & RP_USE_ASKPASS) && getenv("DISPLAY") == NULL)

--------------070608070702090306070206
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev

--------------070608070702090306070206--