Creating a user with Shell (SSH) access


The user assigned to your website is the username you use to log into your server using an FTP program, or a terminal application. This user can be created as either an SFTP or SSH user. The difference is that only a Shell user can run Unix commands on the server from a terminal. 

DreamHost provides shell access to all of its customers, but it needs to be specifically enabled for each user added to your account. In this article, you'll find information on creating a new user with FTP/SFTP/Shell access and modifying an existing user to grant or remove FTP/SFTP/access.

Creating a new user with shell access

  1. Visit the Manage Users page of the control panel.
  2. Click the Add A New User button at the top of the page.
    The Add a new user page opens:
    A description of the fields you’ll see on that page are as follows:
    Type of User Account
    You’ll have three options for 'Type of User Account'. Click the radio button for 'Shell user - allows login via SSH'.
    Shell Type
    You have a few options in this dropdown. It’s fine to just leave it as /bin/bash.
    Select the server you’d like to create this user on.
    Enter a name for this new SHELL user.
    Enhanced security?
    Leave this checked.
    Full Name
    You can just re-enter your SHELL username.
    Pick a password for me
    Check this if you want the system to create a password for the user.
    Password/Password Again
    Enter your custom password here if 'Pick a password for me' isn’t checked.
  3. When finished entering your settings, click the Add User button at the bottom.

    Keep in mind that it takes about 20 minutes for this change to take effect.

Editing an existing user to become a SHELL user

The following steps explain how to change an existing SFTP or FTP user into a SHELL user.

  1. Visit the Manage Users page of the control panel.
  2. Click the Edit button to the far right of the corresponding user.
  3. For the User Type, select 'Shell user - allows login via SSH'.
    • Shell access also provides SFTP access for the user.
    • Unless the "Disallow FTP?" option is checked, it also provides FTP access to the user.
  4. Click the Save Changes button at the bottom to save the change.

Creating a Shell user on the server via SSH

All users must be created in the DreamHost panel. It's not possible to add a Shell user on the server after logging in via SSH.

Connecting to your server

Did this article answer your questions?

Article last updated PST.