How do I connect to my webspace via SSH?

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

Table of Contents

1. SSH in CloudPit

2. SSH in the Control Panel

1. SSH in CloudPit

If you manage your web hosting in CloudPit, your SSH user is the same as your primary FTP user. When using it for the first time, you need to reset the password for this user. You can find out exactly how to do this 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 the Control Panel

You can find the login details for the shell connection in the Control Panel under Webhosting and then under SSH Access.

If you have not yet created an access or have forgotten your password, you can also set it up here.

Attention!

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

With the given data, you can now log in. Make sure to always specify the port. As an example, enter the following directly into the shell:

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

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

You can find this in the Control Panel on the right tab under Webhosting and then in the sub-tab PHP Settings.

Using PHP via SSH in the Control Panel

The PHP version 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 up a different PHP version, you can also do this directly via the SSH connection. All currently available PHP versions can be displayed here by entering php followed by pressing the Tab key twice.

If, for example, you want to call PHP 8.2, you need to enter the following:

php8.2