[scponly] Chroot scponly problems - can't stay connected - stumped!

Paul Hyder Paul.Hyder at noaa.gov
Wed Jul 11 14:47:45 EDT 2007


Have you tried:
 https://lists.ccs.neu.edu/pipermail/scponly/2007-February/001723.html

It would also be helpful for you to turn on the scponly debugging
and to send those syslog entries.  (change the debuglevel file value
to one)
    Paul Hyder

Darren Smith wrote:
> Hi:
> 
> I hope someone can assist me with this.
> 
> I've been trying to get Scponly 4.3 (chrooted) going on Gentoo 2007.0 for a
> few days now and can't seem to figure out what's wrong.  I can authenticate
> properly but the connection will close after trying to start sftp-server it
> seems.  A SIGCHLD error jumped out in the log.
> 
> I have setup my chroot environment and tested it (using this method:
> http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/), which works
> fine, but is a clunky way of doing it it seems.  When I set
> /usr/sbin/scponlyc as the user shell, however, I get an immediate disconnect
> in my SFTP client.
> 
> I've also tried Scponly 4.6 out of curiousity with the same result.  4.3 is
> the version in Portage, so figured it was tested.
> 
> I am connecting with SFTP.  Chroot jail at /home/chroot.  I've even tried
> copying every library from /lib into the chroot, so it doesn't seem to be
> library issue.  sftp-server and scponlyc exist within the chroot environment
> too.  I set scponlyc as SETUID too.
> 
> Thanks for any help.




More information about the scponly mailing list