Hello,
I followed the guide @
http://www.howtoforge.org/chroot_ssh_sftp_debian_etch
and setup a working chrooted shell/sftp
I managed to add some applications by adding them into the create_chroot_env script written there, and most of them worked fine. I had to copy some lib files to get some working.
However there is one essential application I need, screen.
I cannot get it to work on the chrooted shell.
The first error I had was something like:
Error: Must be connected to a terminal.
I somehow fixed this by mounting proc in the chroot dir and then I get the error:
Cannot open your terminal '/dev/pts/1' - please check.
I then mounted that also and it seemed to work and the screen window would open, but then I would get the error:
No More PTYs
If anyone could help me out I would be extremely greatful. It is pretty essential that screen is able to run in the chroot.
thanks
N
Recent comments
2 days 23 hours ago
3 days 8 hours ago
3 days 11 hours ago
3 days 12 hours ago
3 days 13 hours ago
3 days 15 hours ago
3 days 16 hours ago
3 days 18 hours ago
4 days 10 hours ago
4 days 10 hours ago