[NTLUG:Discuss] SSH Confusion
MadHat
madhat at unspecific.com
Tue Mar 2 12:12:14 CST 2004
On Mar 2, 2004, at 12:01 PM, Chris Cox wrote:
> MadHat wrote:
>> On Mar 1, 2004, at 6:40 PM, Chris Cox wrote:
>>> MadHat wrote:
>>>
>>>> The issue has something to do with the TTYs (more specifically
>>>> PTYs) as far as I can tell. Anyone know of a way to see what PTYs
>>>> are available for allocation or what PTYs the OS think are in use?
>>>
>>>
>>> /proc should have the info on what are in use (can be seen with ps).
>>> Number of ptys defaults to 256 (or was it 128?) in the kernel config.
>> Well, it is 256, but it appears that they are not getting released,
>> but they are not showing up in ps, but sshd can't allocate them.
>
> Maybe your sshd is looking for old style pty's instead??
> Does it work somewhat... or not at all??
It was working fine, then stopped. I could not get sshd to give me a
shell, it just closed. I could exec bash and get a shell, but without
the proper terminal controls. This happened after a few weeks of
uptime and had to have the box rebooted to fix it. I am not 100% sure
it is the PTY issue, but from what I have been able to find and from
basic debugging, it looks like that is the issue. I just now upgraded
openssh, so maybe that will fix it. I just could not find a lot of
info to support my suspicions.
More information about the Discuss
mailing list