January 2003

  • File upload

    scp

    Har du shellaksess er scp greit. Da lager man en symlink i ditt home-dir og setter riktige permissions så du kan bruke din egen shellkonto til opplasting av filer.

    sftp

    In order to connect with SFTP (TLS+FTP), you have to do the following:
    1. Add a user for accessing a specific directory. Example is the user "ftpsjn" which has homedir in /www/example.com , no login shell and the same uid/gid as the user owning the homedir.
    2. Add this user to /etc/vsftp.user_list
    3. Make the ftp user's home dir non-writable for everyone (chmod a-w).