Setting up a (Debian) Linux jail on FreeBSD

aragats

Daemon

Reaction score: 534
Messages: 1,278

How to deal with /dev/pts?
When using jexec in Linux jail I have:
Code:
# ll /dev/pts/
total 1
dr-xr-xr-x 2 root root    512 Nov  5 14:01 .
dr-xr-xr-x 9 root root    512 Nov  5 14:01 ..
crw--w---- 1 1001 adm  136, 3 Nov  5 15:18 3
So, the 3 corresponds to my current terminal, but when logging in with ssh no PTY can be allocated:
Code:
% ssh -t mylinuxjail
PTY allocation request failed on channel 0
 
Top