:: TheOneAndTheOnly.com – Andrew Buckman ::

SFTP for Web Users on Plesk 7.5

Blogged in Plesk by Andrew · Saturday May 14, 2005

Another quick How-To for Plesk 7.5 Reloaded for Linux. I was setting up a Web User account and realized there is no option to grant SSH access in the control panel when doing so. Obviously that’s normally a good thing, but with scp-only as the shell to allow SFTP/SCP without granting actual SSH access, I wanted to assign it to the web users. Fortunately it’s quick and painless to do so on the command line via SSH.

First, create the web user and note the name of the account. We’ll use paris for our example.

Now, login via SSH, su to become root, and enter the line below:
usermod -s/usr/libexec/openssh/sftp-server paris

That should change the shell for the user to scp-only. If you haven’t already installed scp-only, check out my other post on the subject: HOW-TO: SFTP on Plesk 7.5 Reloaded for Linux.

©2010 Andrew Buckman
28 queries. 0.238 seconds.
Powered by Wordpress
theme based on desert by evil.bert