[scponly] Problem swapping to writable subdirectory - incoming with WinSCP

Adrian Jones ajones at umces.edu
Wed Feb 21 15:22:36 EST 2007


Ok, well I set the debug level to 2, but I don't seem to be getting very
verbose output. Here is the content from my syslog after logging on using
WinSCP with the chrooted user:

exec of /home/testuser/usr/lib/sftp-server within chroot by process
/usr/local/sbin/scponlyc[scponlyc:15503] uid/euid:1018/1018
gid/egid:100/100, parent /usr/sbin/sshd[sshd:3132] uid/euid:1018/1018
gid/egid:100/100 

Just to confirm, I did a: cat /usr/local/etc/scponly/debuglevel and the
output is: 2

Sorry, really not sure why I am not getting more output.

Thanks for your help with this,
Adrian



-----Original Message-----
From: scponly-bounces at lists.ccs.neu.edu
[mailto:scponly-bounces at lists.ccs.neu.edu] On Behalf Of
scponly-request at lists.ccs.neu.edu
Sent: Wednesday, February 21, 2007 9:00 AM
To: scponly at lists.ccs.neu.edu
Subject: scponly Digest, Vol 50, Issue 8

Send scponly mailing list submissions to
	scponly at lists.ccs.neu.edu

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.ccs.neu.edu/bin/listinfo/scponly
or, via email, send a message with subject or body 'help' to
	scponly-request at lists.ccs.neu.edu

You can reach the person managing the list at
	scponly-owner at lists.ccs.neu.edu

When replying, please edit your Subject line so it is more specific than
"Re: Contents of scponly digest..."


Today's Topics:

   1. Problem swapping to writable subdirectory - incoming with
      WinSCP (Adrian Jones)
   2. Re: Problem swapping to writable subdirectory - incoming	with
      WinSCP (Kaleb Pederson)


----------------------------------------------------------------------

Message: 1
Date: Wed, 21 Feb 2007 00:51:08 -0800
From: "Adrian Jones" <ajones at umces.edu>
Subject: [scponly] Problem swapping to writable subdirectory -
	incoming with	WinSCP
To: <scponly at lists.ccs.neu.edu>
Message-ID: <044b01c75595$713400b0$04d27683 at adrian>
Content-Type: text/plain; charset="us-ascii"

Hi everyone.
 
Well after a bunch of problems trying to install scponly using the Debian
apt package, I setup the latest unstable .deb package and things seem to be
working pretty well. I am using scponlyc with chroot. Using the SSH SFT
window the user is logged in and taken straight to the incoming subfolder
with no access to anything above it - exactly what I want to have happen.
However, with WinSCP they are take to their home directory. They can see all
the other folders inside home, but cannot browse above their home directory.
Can someone tell me why WinSCP is not taking them straight to the incoming
subfolder and limiting them to that folder?
 
On a somewhat related note - I am getting transfer errors with the SHH SFT
window when copying files into the incoming subdirectory. The file is
actually transferred and seems to be fine, but I always get the error. I
don't get this error with WinSCP.
 
Would appreciate any help.
 
Thanks,
Adrian
-------------- next part --------------
HTML attachment scrubbed and removed

------------------------------

Message: 2
Date: Wed, 21 Feb 2007 07:31:48 -0800
From: Kaleb Pederson <kibab at icehouse.net>
Subject: Re: [scponly] Problem swapping to writable subdirectory -
	incoming	with WinSCP
To: scponly at lists.ccs.neu.edu
Message-ID: <200702210731.48350.kibab at icehouse.net>
Content-Type: text/plain;  charset="utf-8"

Hi,

Could you turn on logging and post the output?  That will help us determine
what's going on as there are a number of things it could be.

Information on turning on logging is available here:

http://sublimation.org/scponly/wiki/index.php/FAQ#How_do_I_turn_on_logging.3
F

Thanks.

--Kaleb

On Wednesday 21 February 2007 12:51 am, Adrian Jones wrote:
> Hi everyone.
>
> Well after a bunch of problems trying to install scponly using the 
> Debian apt package, I setup the latest unstable .deb package and 
> things seem to be working pretty well. I am using scponlyc with 
> chroot. Using the SSH SFT window the user is logged in and taken 
> straight to the incoming subfolder with no access to anything above it -
exactly what I want to have happen.
> However, with WinSCP they are take to their home directory. They can 
> see all the other folders inside home, but cannot browse above their 
> home directory. Can someone tell me why WinSCP is not taking them 
> straight to the incoming subfolder and limiting them to that folder?
>
> On a somewhat related note - I am getting transfer errors with the SHH 
> SFT window when copying files into the incoming subdirectory. The file 
> is actually transferred and seems to be fine, but I always get the 
> error. I don't get this error with WinSCP.
>
> Would appreciate any help.
>
> Thanks,
> Adrian



------------------------------

_______________________________________________
scponly mailing list
scponly at lists.ccs.neu.edu
https://lists.ccs.neu.edu/bin/listinfo/scponly


End of scponly Digest, Vol 50, Issue 8
**************************************




More information about the scponly mailing list