[scponly] can't start sftp-server on Fedora Core 5

Kaleb Pederson kpederson at mail.ewu.edu
Tue Mar 28 11:36:14 EST 2006


On Tuesday 28 March 2006 5:41 am, Claude Jones wrote:
> I've edited my /etc/shells to include scponlyc

Good.

> I've compiled from source using ./configure –enable-chrooted-binary –
> disable-scp-compat –disable-winscp-compat

I presume you mean ./configure --enable-chrooted-binary --disable-scp-compat 
--disable-winscp-compat?

> I've also tried compiling without the two disable switches
> When I try to log in, I get past the password prompt but then stall,
> eventually getting a message about a broken pipe

Please turn on debugging and send us the output.  You should be able to:

echo 1 > /path/to/install/etc/scponly/debuglevel

Then you should get a bunch of extra debugging information in the appropriate 
syslog log.

> If I try to log in locally, I get a message about /dev/null - no such
> device Sorry about the imprecision

I presume this is because you are using a chroot.  You will need to create 
the /dev/null device within the chroot: mknod /path/to/chroot/dev/null c 1 3

Sounds like you are on the right track.  If you can get us the additional 
debugging information, we should be better able to help.

--Kaleb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20060328/6c685331/attachment.bin


More information about the scponly mailing list