Overview
This article explains how to create a new user with SFTP or shell access and how to modify an existing user in order to grant or remove SFTP or shell access.
Background
A user assigned to your website is the username you use to log in to your server using an FTP program or a terminal application. This user can be created as either an SFTP or shell (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 you add to your account.
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.
How to create or edit a user
You can create a new user or edit an existing user in the panel.
Creating a new user with shell access
- Navigate to the SFTP Users & Files page in your panel.
- On the top right, click the Create User button.
- A popout appears.
- Enter the following:
- Username — A username for the new user.
- Server — Click the down arrow and select the server on which the user will have access.
- Password (Generate strong password) — Enter a password or click the button to have the panel create a strong password for you.
- Secure Shell Access (SSH) — Use the toggle button to enable Secure Shell/SSH (toggle right). When enabled, the toggle button turns blue.
- Shell Type — When Secure Shell access is enabled, the Select the Shell Type drop-down box appears. You can select bash, tcsh, ksh, or zsh. See shell users for more information about the various Shell types you can use.
- When finished, click the Create User button.
- The panel displays a status update as the user is created.
Editing an existing user to become a SHELL user
- Navigate to the SFTP Users & Files page in your panel.
- Select a user and click the Login info button.
- The panel shows you if your user is an SFTP user.
- To the right of Secure Shell Access (SSH), enable the toggle.
- The panel updates the permissions for this user. When finished, a green checkmark displays.
- Click the Login info button again to the right of the user.
-
The following changes display:
- File Access — Changes to SFTP/SSH.
- Secure Shell Access (SSH) — The toggle turns blue when enabled.
- Shell Type — Select a shell type from the drop-down list that you wish to use.
-
The following changes display:
Connecting to your server
After you create a new shell user, you can refer to the following articles to learn more about how to connect to your server: