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
1 day 8 hours ago
1 day 17 hours ago
1 day 20 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 36 min ago
2 days 2 hours ago
2 days 3 hours ago
2 days 19 hours ago
2 days 20 hours ago