scponly can be set to act as an sftp server ;-)

On 1/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> ooh ooh.. OK I did a lot of research on this for a project .. only to
> have the project get shelved for another time.  So if any one has (
> updated ) info on the best way to do this I'd be interested too.
> Basically you want to create a chroot jail for the user loggin in so
> they can't access anything outside of the home ( or designated )
> dir....    here's a good Debian reference... In my case I'm looking for
> SFTP rather than SCP but its pretty much the same type of function.. you
> want to transfer data yet restrict the user to a single dir.
>
> http://www.debian-administration.org/articles/94
>
> Mark Ellister
>
>
>
>
> larry price wrote:
>
> >if you are wanting to only grant scp access you should look at scponly
> >http://www.sublimation.org/scponly/
> >
> >which is a wrapper that you set as the login shell for the remote user 
> >account
> >
> >Otherwise, you probably want to set up a chroot login account
> >for which there are numerous HOWTO's like this one
> >http://www.tjw.org/chroot-login-HOWTO/
> >
> >
> >
> >On 1/1/06, Mr O <[EMAIL PROTECTED]> wrote:
> >
> >
> >>I've created a user and group and want to restrict the access to
> >>a single directory to allow someone to "scp" files to me. What I
> >>want is to restrict that user/group to only that folder without
> >>being able to browse out of it and not able to run a shell.
> >>They'll be using the non-commercial SSH client to drag and drop.
> >>
> >>TIA for any help,
> >>
> >>Mr O.
> >>
> >>
> >>
> >>
> >>__________________________________
> >>Yahoo! for Good - Make a difference this year.
> >>http://brand.yahoo.com/cybergivingweek2005/
> >>_______________________________________________
> >>EUGLUG mailing list
> >>[email protected]
> >>http://www.euglug.org/mailman/listinfo/euglug
> >>
> >>
> >>
> >
> >
> >--
> >http://Zoneverte.org -- information explained
> >Do you know what your IT infrastructure does?
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >EUGLUG mailing list
> >[email protected]
> >http://www.euglug.org/mailman/listinfo/euglug
> >
> >
> >------------------------------------------------------------------------
> >
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 12/30/2005
> >
> >
>
> _______________________________________________
> EUGLUG mailing list
> [email protected]
> http://www.euglug.org/mailman/listinfo/euglug
>


--
http://Zoneverte.org -- information explained
Do you know what your IT infrastructure does?
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to