From: Yehuda K. <ye...@ym...> - 2012-03-04 06:56:28
|
On Fri, Mar 2, 2012 at 1:57 AM, Csere Mátyás <cs...@gm...> wrote: > >> I don't know how hard would it be to implement, but it would be nice if > >> virtualmin could do backups to ftps:// locations too, with auth tls/auth > >> ssl. > > What's wrong with sftp ? > Actually nothing, besides my sshd_conf allowedusers directive :) > Can you recommend a shell for the sftp user? (One with i could replace > my existing "ftp chroot in home" setup?) > This might answer your question: http://www.howtoforge.com/restricting-users-to-sftp-plus-setting-up-chrooted-ssh-sftp-debian-squeeze You are probably interested in step 3. You should be able to set the user's shell to /bin/false and they will be able to use the sftp subsystem only. - Y |