How do I enable SSH access in DirectAdmin?

SSH (Secure Shell) gives you secure command-line access to your hosting account, useful for developers running tools like Composer, WP-CLI, or Git. On Disoh’s DirectAdmin hosting, SSH can be enabled where your plan supports it. This guide explains how.

What SSH is for #

  • Running command-line tools and scripts.
  • Managing files and permissions quickly.
  • Using developer tools like Git and Composer.

Enabling SSH #

  1. Log in to DirectAdmin.
  2. Look for the SSH Keys or SSH access section.
  3. Enable SSH for your account if the option is present.
  4. Add your public SSH key, or note the login details provided.

Connecting with SSH #

Use an SSH client (the Terminal on macOS or Linux, or a tool like PuTTY on Windows) and connect with your username, the server hostname, and the SSH port. Key-based authentication is more secure than a password and is recommended.

Using SSH keys #

  • Generate a key pair on your computer.
  • Add the public key in DirectAdmin.
  • Keep the private key safe on your machine.

Troubleshooting #

  • Connection refused: confirm SSH is enabled and you are using the correct port.
  • Permission denied: check your username and that your key is added correctly.
  • Option missing: SSH may depend on your plan; contact support.

Need help? #

If SSH will not connect, our support team can confirm the details for your account over live chat.

What are your feelings

Your Account