[scponly] Troubles with scponly-4.8

Gary Autiello gautiello at dominiondiagnostics.com
Thu Oct 28 13:44:16 EDT 2010


Hey Kaleb,

Thanks for your reply.

The chroot-building script did copy over the sftp-server as you can see in
the screen shot below.  The chrooted environment for the user
is /apps/home/garytest/:


I will look for that python script, but if you have any more ideas, please
let me know.

Thanks,
______________________________________
Gary Autiello, Network +, MCITP
Network Administrator
Dominion Diagnostics, LLC
x886, 401-667-0886





From:	Kaleb Pederson <kaleb.pederson at gmail.com>
To:	Gary Autiello <gautiello at dominiondiagnostics.com>
Cc:	scponly at lists.ccs.neu.edu
Date:	10/28/2010 01:39 PM
Subject:	Re: Troubles with scponly-4.8



Gary,

I'm CCing the list now that you're subscribed.

The following is the culprit (or at least part of the problem):

> Oct 28 17:15:09 garytest139 scponly[32425]:
> failed: /usr/libexec/openssh/sftp-server -l INFO -f LOCAL6 with error No
> such file or directory(2) (username: garytest(813), IP/port: 192.168.1.43
> 49384 22)

It looks as if the sftp-server wasn't copied into the chroot.  The
chroot-building script isn't very powerful and has some problems. I'd
actually recommend Jailkit (http://olivier.sessink.nl/jailkit/) for
building the chroot.

If not using Jailkit, once the basic chroot is setup and functional,
there's a python script that I wrote that should be in the archives
somewhere that you can use to add or update supporting libraries for
whatever programs you want to copy into the chroot.

Once you've copied over the sftp-server, please let me know if you run into
any problems.

--Kaleb

CONFIDENTIALITY NOTICE: This e-mail, including attachments,
is for the sole use of the individual to whom it is addressed
This message is confidential and may contain information that
is privileged, confidential and is exempt from disclosure under
applicable law. Any unauthorized review, use, disclosure or
distribution is prohibited. If you have received this e-mail
in error, please notify the sender by reply e-mail and destroy
this message and its attachments

-------------- next part --------------
HTML attachment scrubbed and removed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 30631178.gif
Type: image/gif
Size: 11022 bytes
Desc: not available
Url : http://lists.ccs.neu.edu/pipermail/scponly/attachments/20101028/247b9f96/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 30161117.jpg
Type: image/jpeg
Size: 5238 bytes
Desc: not available
Url : http://lists.ccs.neu.edu/pipermail/scponly/attachments/20101028/247b9f96/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://lists.ccs.neu.edu/pipermail/scponly/attachments/20101028/247b9f96/attachment-0003.gif 


More information about the scponly mailing list