Report this

What is the reason for this report?

Setup SFTP Access for VaultPress

Posted on November 25, 2014

I signed up with VaultPress to do backups of my wordpress blog. I would like to give them access using SFTP but I am not really sure how to add a new account.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

thanks @ryanpq did the trick for me

You can add a new user with SFTP access by doing the following where the username you are creating is “newuser”:

useradd newuser
passwd newuser
usermod -m -d /path/to/new/home/dir newuser

The first command “useradd” will create the new user. The “passwd” command will prompt you to create a new password for the user The “usermod” command sets a home directory for this new user.

You may also want to add the user to a group with permissions to the files you want this account to access. If this is your web root you can use:

useradd -g www-data newuser

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.