Skip to content
HostingSquad
To websitehostingsquad.nl
Search
EN

How do I get SSH access to my web hosting package?

Updated on

SSH access is included with our web hosting packages. For security reasons, the SSH port of our servers is not open to everyone: we first put your IP address on the server's whitelist and enable SSH for your package. You then add your SSH key in DirectAdmin and connect via port 7198.

Before you start

  • You need your DirectAdmin login details.
  • You need an SSH key pair. If you do not have one yet, create it on your computer with ssh-keygen -t ed25519. Do not use a DSA key: OpenSSH has not supported DSA since version 10.0.
  • On Windows, you use PowerShell. This requires the OpenSSH client, an optional feature of Windows (from Windows 10 build 1809). To see whether it is installed, run Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*' in PowerShell as an administrator: if OpenSSH.Client shows NotPresent, install it with Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0. Microsoft explains this on this page.
  • DirectAdmin is in English by default, so the menus and buttons in this article are named as you see them on screen. If your DirectAdmin is set to Dutch, DirectAdmin may show the Dutch names, such as Geavanceerde Functies instead of Advanced Features and SSH Sleutels instead of SSH Keys.

Request SSH

Send an email to info@hostingsquad.nl containing:

  • the domain name of your web hosting package;
  • your IP address. You can find it on this page (in Dutch).

We then put your IP address on the whitelist, enable SSH for your package and send you the instructions, with the name of the server your package runs on. If your IP address changes, for example at another location or with another internet provider, send us the new address.

Add your key

  1. Log in to DirectAdmin

  2. Open SSH Keys

    Under Advanced Features, click SSH Keys. This item only appears after we have enabled SSH for your package.

  3. Paste your public key

    Click Paste Key. In the Paste Authorized Key window, paste the contents of your public key into the Line field. This is the file ending in .pub, for example ~/.ssh/id_ed25519.pub, or on Windows C:\Users\<your name>\.ssh\id_ed25519.pub.

  4. Save the key

    Click Create.

Connect

You connect using the username of your DirectAdmin account and the server name from our email with the instructions, for example web4.hsqd.nl.

  1. Open a terminal on your computer

    On Windows, that is PowerShell.

  2. Connect

    Type this command, replacing username with the username of your DirectAdmin account:

    ssh -p 7198 username@web4.hsqd.nl
  3. Confirm the server

    The first time, ssh asks whether you want to continue connecting to this server. Type yes; the server is then added to the list of known servers on your computer.

Not working?
  • Is there no SSH Keys under Advanced Features? Then SSH is not yet enabled for your package. If you have not emailed us yet, do that first.
  • If you cannot connect, check whether your current IP address is still the same as the address you sent us.

Still stuck? Contact us (in Dutch).

Related articles