out of tty ?

Mathieu Arnold mat at mat.cc
Thu May 1 01:09:54 PDT 2003



+-Le 01/05/2003 18:02 +1000, Andy Farkas écrivait :
| On Thu, 1 May 2003, Mathieu Arnold wrote:
| 
|> I use a 4.8-RELEASE, and I have a lot of users logging in with ssh and
|> using screen. It seems that ssh and screen only use /dev/ttyp*, which
|> limits to 32 ttys. How can I tell them to use all the tty[pq..]
|> configured in /etc/ttys ?
| 
| I think ssh and screen use /dev/ptyp* devices.

That's right, I got confused with pty and tty :)

| Did you create the device nodes in /dev ?
|
|# cd /dev
|# sh MAKEDEV pty3
| 
| (this makes 128 pty's)
| 
| Note the argument to MAKEDEV is pty[0-7] which creates n+1*32 pty's.

now I should have as many pty as my users will ever need :)

thanks :)

-- 
Mathieu Arnold


More information about the freebsd-questions mailing list