Adding an SFTP user

Adding a SFTP user is performed via SSH. Log into your acc server and switch user to root

su -l root
/microcloud/scripts_ro/create_sftp_user.sh -h

There are a number of options that can be supplied to create a SSH user

create_sftp_user.sh Usage:

create_sftp_user.sh [-r] [username]

  username       Username (eg. media_user)

  -r             Remove user
  -l             List SFTP users

Please note: You cannot create an SFTP account that has the same name as an SSH account

Examples

Create user

To create a user called example

/microcloud/scripts_ro/create_sftp_user.sh example

Remove user

To remove the user example

/microcloud/scripts_ro/create_sftp_user.sh -r example