On Tue, 6 Nov 2007, James Supancic wrote:

> I did some strace'ing and found that sshd was using the BSD style
> method for creating a pty. After adding support for that to my Linux
> kernel (LEGACY_PTYS=y) it started working (I guess I took a version of
> sshd that used BSD style ptys and put it on a kernel that didn't
> support them... bad combination).


OpenSSH prefers to use the openpty(3) function to allocate PTYs, so
assuming this is being picked up on your system (check config.log) then
it is your libc that is using the legacy method underneath.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev