How to get ptys (devfs) inside jail for FreeBSD 5.2?

Hari Bhaskaran subscr at
Wed Feb 4 12:12:14 PST 2004


What do I use instead of MAKEDEV (for jail) in FreeBSD 5.2?
I am getting "openpty: No such file or directory"
in the sshd's auth.log and "Server refused to allocate pty"
in the ssh client when I try to ssh-in to the jail.

So far the only response I have seen on the net is by
Clement Laforet who suggests mounting 
mount_devfs devfs ${JAIL_ROOT}/dev

Is this secure? Is there any other way?
Any help is appreciated
Hari Bhaskaran

More information about the freebsd-questions mailing list