View previous topic :: View next topic |
Author |
Message |
tux Junior Member
Joined: 08 Sep 2011 Posts: 5
|
Posted: Sun Oct 16, 2011 1:55 pm Post subject: sftp chroot |
|
|
Hi, I have a question, is there a easy way to lock up user in their home dir? i want to share ftp-accounts to my friends. ftp is ok, i figured it out in vsftpd. but i need to share via sftp then i need to lock the user in their homedir, so they cant change folder and read/write in my personal files.
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sun Oct 16, 2011 5:08 pm Post subject: |
|
|
If you have vsftp running with chroot_local_users=yes then you should have no problem.
Your users may use 'scp' command as well if they have SSH access.
If your files or your home folder have permissions 700 they could not see you.
If you still want to create a chroot environment that article should help you
http://nil-techno.blogspot.com/2010/06/chrooted-ssh-sftp-on-slackware.html
gerasimos_h
_________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
tux Junior Member
Joined: 08 Sep 2011 Posts: 5
|
Posted: Sun Oct 16, 2011 9:57 pm Post subject: |
|
|
gerasimos_h wrote: | If you have vsftp running with chroot_local_users=yes then you should have no problem.
Your users may use 'scp' command as well if they have SSH access.
If your files or your home folder have permissions 700 they could not see you.
If you still want to create a chroot environment that article should help you
http://nil-techno.blogspot.com/2010/06/chrooted-ssh-sftp-on-slackware.html
gerasimos_h |
Is it possible to get mod_sftp for proftpd on a easy way?
|
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
|
Back to top |
|
|