[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sftp question



On Thu, 19 Aug 2004 00:41:57 +0200
Sandra Fernández García <sandradebian@hotmail.com> wrote:

> I'm trying to make a secure ftp service using ssh.
> The problem is when users that connect through sftp or scp, they
> can access the directory tree. They can to move easily through the
> file system.
> I want that users can't go beyond of their home when they use sftp or scp,
> and they can't connect to a normal shell, like a normal ftp service.
> 
> Any idea?

  Two: harden filesystem permissions (don't make homes readable to all for
example) or chroot users to their home upon connection.
-- 
  Ricardo Mones Lastra - mones@aic.uniovi.es
  Centro de Inteligencia Artificial, Universidad de Oviedo en Gijon
  33271 Asturias, SPAIN. - http://www.aic.uniovi.es/mones



Reply to: