[scponly] SIGPIPE when trying to connect to chrooted scponly host

Kaleb Pederson kaleb.pederson at gmail.com
Sun Apr 5 01:44:41 EDT 2009


On Saturday 04 April 2009 11:31:49 am Mark Trolley wrote:
> I'm having no luck whatsoever getting scponly to work again. I had it
> working before upgrading Debian to lenny and now it doesn't. I've seen
> the other mailing list posts about this problem so I know it's known,
> so I decided to forgo using the Debian package and compile from source
> instead. I did that and did all the setup but it still doesn't work.
> 
> I compiled scponly from source using only the --enable-chrooted-binary
> option. I then ran setup_chroot.sh and followed all the prompts. I
> needed to copy /dev/null manually but otherwise everything went OK.

Sounds good.  That's probably the single most common thing that needs to be done.

> Next I copied sh (and libs) into the chroot directory and can
> successfully chroot there and run sftp-server:

For testing purposes that's fine....

[...snip...]
> Any ideas what's wrong? I'm at my wit's end.

I didn't see where scponly invoked the sftp-server.  Could you attach the output from syslog when you connect with debugging enabled?

Thanks.

--Kaleb
 



More information about the scponly mailing list