View Single Post
Old 24th May 2008, 22:09
nicho12 nicho12 is offline
Junior Member
Join Date: May 2008
Posts: 7
Thanks: 0
Thanked 2 Times in 2 Posts
Default Chrooted SSH/SFTP Screen problems

I followed the guide @

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.

Reply With Quote
Sponsored Links