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

Hari Bhaskaran subscr at spider.netmails.net
Wed Feb 4 12:12:14 PST 2004


Hi,

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
See: http://lists.freebsd.org/pipermail/freebsd-questions/2003-August/014836.html

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


More information about the freebsd-questions mailing list