OpenSSH_4.3p2 fails to create a pty session

Eric Millbrandt emillbrandt at coldhaus.com
Thu Aug 17 06:15:31 EST 2006


Darren Tucker wrote:
> In order to figure out what's going on, we need to know what options 
> are enabled on your config.h that affect pty allocation.
>
> From our survey data I see that FreeBSD 4 has openpty (which is used 
> if possible) so HAVE_OPENPTY should be set.  (Could you please check 
> config.h and confirm, if not post your config.h here.)
Yes HAVE_OPENPTY is defined.
>
> Also, you could try this patch to see what descriptors openpty 
> returns.  I suspect that one or both descriptors will be -1 but 
> openpty will have returned 0 (ie success).
>
openpty returned 0 descriptors 4/6 name /dev/ttyp3

And attached is the entire script.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-script-pty
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20060816/ead1a054/attachment.ksh 


More information about the openssh-unix-dev mailing list