Re: Programs run over ssh aren't getting real ttys.
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).[/color]
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.
openssh-unix-dev mailing list