Connecting to SSH

SSH stands for Secure Shell, often simply called shell. SSH makes it possible to log into another computer in an encrypted manner. Commands can be executed remotely via a shell. SSH works via encryption, making it very difficult for outsiders to intrude and intercept commands.

Enable SSH

SSH is disabled by default for security reasons. You can easily enable it within the Control Panel. Click on your hosting package, then on advanced, and then SSH access. 
Enable SSH

In the next screen, you can enable SSH. 

You will also find the IP to connect to in our control panel:

Using SSH in Windows 10 and newer (PowerShell)

  1. Open PowerShell in Windows.
  2. Type your DirectAdmin username and domain name (or server hostname) below for your personal command:
    Username:   Domain name:

    ssh -p 26 gebruikersnaam@uw-domein.nl
  3. Copy and paste this command into your PowerShell window and press enter. The port number at mijn.host is always 26, not the standard 22. Then enter your DirectAdmin password. You are now logged in via SSH!

Using SSH in Windows (PuTTY)

  1. Log in via DirectAdmin, see: https://mijn.host/kb/hoe-log-ik-in-op-directadmin/
  2. Download PuTTY: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
  3. We can now open the program. In PuTTY, we now enter the server name or IP address and the port.
    The server name or IP address can be found in the control panel in your hosting overview. You can also find it when you log into DirectAdmin.
    SSH connections on mijn.host servers always use port 26.
    Now click Open.
  4. A screen will now appear where we can enter the username. The username can be found in DirectAdmin (always lowercase).
    DirectAdmin dashboard
    Enter the username, press enter, and then enter the DirectAdmin password. Then press enter again. You are now logged in via SSH!
console

 

Using SSH in macOS / Mac OSX

 

  1. Open the terminal via “Applications” and then “Utilities”.
  2. Type your username and domain name (or server hostname) below for your personal command:
  3. Copy and paste this command into your Terminal app and press enter. The port number at mijn.host is always 26, not the standard 22. Then enter the passwssword of DirectAdmin. You are now logged in via SSH!
Username:   Domain name:

You received the DirectAdmin username and password from us via email when purchasing your hosting package.

In most cases, your username will consist of 2 letters followed by your customer number. For example az123456. Always use lowercase letters.

Do you have a reseller package and are still unable to log in to SSH after the steps above? Check whether the specific user does not have the "Jailed" option enabled in the package in DirectAdmin. This must be disabled to use SSH.

 

If you are unable to log in to the system via SSH, we are happy to help you.

 


Still have questions? Get in touch.