Question

Setup SFTP Access for VaultPress

  • Posted 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.

Subscribe
Share

Submit an 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