How to connect to my web host via SSH

In this article, we explain how to connect to your web host via an SSH terminal.

Table of Contents

1. SSH in CloudPit

2. SSH in legacy Control Panel

1. SSH in CloudPit

If you manage your web hosting in CloudPit, your SSH user corresponds to your primary FTP user. For first-time use, you need to reset the password for this user. You can read how this works here: --> How do I manage FTP users?

Use the username of the primary FTP user as the username, the same password as for the FTP connection, and port 22 as the port.

2. SSH in legacy Control Panel

You can find the access data for the shell connection in the control panel under Web Hosting and then at the point SSH Access.

If you have not yet created access or have forgotten your password, you can set this up here as well.

Attention!

When connecting, you must use the specified port. The default port (22) cannot be used here!

With the given data, you can now log in. Note that you always need to specify the port. For example, you would enter directly into the shell:

ssh e#####@e#####-ssh.services.easyname.eu -p 11055

The PHP version from the SSH terminal is the same as that of the web hosting.

You can find this in the control panel on the right tab under Web Hosting and then in the sub-tab PHP Settings.

Using PHP over SSH with legacy web hosting

The PHP version that has been set as default is configured in the SSH terminal.

You can view your currently selected PHP version in the terminal with the following command:

php -v

If you want to specifically call a different PHP version, you can do this directly via the SSH connection. You can display all currently available PHP versions here by entering php followed by hitting the tab key twice.

For example, if you want to call PHP 8.2, you need to enter the following:

php8.2