More Slack7 heartbreak.
Richard June
rjune at ims1.imagestream-is.com
Sun Apr 16 03:44:05 EST 2000
On Sat, 15 Apr 2000, Markus Friedl wrote:
> On Fri, Apr 14, 2000 at 12:07:02PM -0500, Richard June wrote:
> > All line number are approximate, but most likely w/in 10 lines of the
> > OK, I've tracked down lots of goofy stuff w/ slack7 and OpenSSH
> > I've got a couple of questions.
> > What is /dev/tty and why does ssh try to open it to read the password
> > instead of stdin?
>
> openssh reads passwds from the current terminal (/dev/tty),
> reading from stdin is a bad idea, e.g. stdin might be redirected.
>
> some broken distributions ship with /dev/tty unreable.
>
> > (this cause ssh to die w/ "You have no controlling tty.
> > Cannot read passphrase.\n", line 69 of readpass.c, I've made it work by
> > calling
> > password = read_passphrase(prompt, 1); instead of
> > password = read_passphrase(prompt, 0);
> > in sshconnect.c line 940
Sorry about last message, is this simply a permissions problem? or is it
something more serious(I don't have access to the machine @ the moment)
More information about the openssh-unix-dev
mailing list