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 #
- Log in to DirectAdmin.
- Look for the SSH Keys or SSH access section.
- Enable SSH for your account if the option is present.
- 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.