Child pages
  • Setting up SFTP for Derivative Upload - 5.0.7

This space has moved to IU's Confluence.
It is located at https://uisapp2.iu.edu/confluence-prd/display/iulV3/

Skip to end of metadata
Go to start of metadata

Setting up Sftp for Derivative Upload

Installing Scponly

Check to see if scponly is available from the package manager on your server.

  • If you are running Red Hat Enterprise Linux 4
    up2date -l scponly
  • If you are running Red Hat Enterprise Linux 5 or Fedora 10
    yum search scponly

Install it if it is available. If scponly is not available, then:

  • Download the latest source release from SourceForge.
  • Untar the source
    tar xvzf scponly-4.8.tgz
  • Move into the extracted directory
    cd scponly-4.8
  • Compile and install the binaries (as root)
    ./configure; make; make install

Creating the Upload Account

As _root_ user

  • Create the upload user account
    useradd -M -s /usr/local/bin/scponly -d /home/digitize digitize
    • If installed from a package manager
      useradd -M -s /usr/bin/scponly -d /home/digitize digitize
  • Setup the account's password
    passwd digitize
  • Add dmlserv to the digitize group
    usermod -G digitize dmlserv
  • Create a symlink to the content loader directory
    ln -s /home/dmlserv/content/loader/ /home/digitize
  • For RHEL5/Fedora 10, change symlink's context
    chcon system_u:object_r:user_home_dir_t:s0 /home/digitize
  • Set permissions on the incoming directory
    chgrp digitize /home/dmlserv/content/loader/audio/incoming
  • No labels