[scponly] [Fixed] Re: scponly failed. new setup
William Estrada
MrUmunhum at popdial.com
Sat Feb 7 14:06:35 EST 2009
>
> Date: Thu, 5 Feb 2009 11:44:21 -0800 From: Kaleb Pederson
> <kaleb.pederson at gmail.com> Subject: Re: [scponly] scponly failed. new
> setup To: scponly at lists.ccs.neu.edu, MrUmunhum at popdial.com Message-ID:
> <200902051144.22004.kaleb.pederson at gmail.com> Content-Type:
> text/plain; charset="iso-8859-1"
Kaleb,
Thanks, I fixed /dev/null and that worked. (see below);
> On Thursday 05 February 2009 10:04:18 am William Estrada wrote: [...
> snip ...]
>> > Feb 5 01:19:36 Server scponly[14100]: running:
>> > /usr/libexec/openssh/sftp-server (username: wavmsg(510), IP/port:
>> > 10.1.1.50 39612 9999)
>> > Feb 4 17:19:36 Server sshd[14099]: debug2: channel 0: read<=0 rfd 8
>> > len -1
>> > Feb 4 17:19:36 Server sshd[14099]: debug2: channel 0: read failed
>>
>
> So permissions are good and sftp-server can be run.
>
>
>> > My file system looks like this:
>> > drwxr-xr-x 2 root root 4096 Oct 1 2007 dev
>>
>
> Do you have a /dev/null node with appropriate permissions?
>
That was it!
# ls -lrt
total 4
crw-r--r-- 1 root root 1, 3 Oct 1 2007 null
rm null
rm: remove character special file `null'? y
# mknod -m 666 /home/wavmsg/dev/null c 1 3
# ls -lrt
total 4
crw-rw-rw- 1 root root 1, 3 Feb 7 10:58 null
>
>> > Any ideas on what I am doing wrong??
>>
>
> I would guess the chroot is not correctly setup. I'd consider using something
> like jailkit to create the chroot as the provided script isn't sufficiently
> robust.
>
> --Kaleb
>
>
>
--
William Estrada
MrUmunhum at popdial.com
Mt-Umunhum-Wireless.net ( http://64.124.13.3 )
Ymessenger: MrUmunhum
More information about the scponly
mailing list