Skip to content

Commit a5dfda6

Browse files
authored
Merge pull request #8301 from ovh/KevS-SK2277-KFTXlsL357-FullUpdate-SSH-using-for-WebHosting
KevS-SK2277-KFTXlsL357-FullUpdate-SSH-using-for-WebHosting
2 parents c836f27 + 4668f6d commit a5dfda6

15 files changed

+1986
-797
lines changed

pages/web_cloud/web_hosting/ssh_on_webhosting/guide.de-de.md

Lines changed: 129 additions & 50 deletions
Large diffs are not rendered by default.
Lines changed: 135 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,166 @@
11
---
2-
title: "Accessing a web hosting plan via SSH"
3-
excerpt: "Find out how to connect and use SSH access on an OVHcloud web hosting plan"
4-
updated: 2024-01-30
2+
title: "Web Hosting - How to use SSH access"
3+
excerpt: "Find out how to log in and use SSH access on an OVHcloud Web Hosting plan"
4+
updated: 2025-09-08
55
---
66

7+
<style>
8+
details>summary {
9+
color:rgb(33, 153, 232) !important;
10+
cursor: pointer;
11+
}
12+
details>summary::before {
13+
content:'\25B6';
14+
padding-right:1ch;
15+
}
16+
details[open]>summary::before {
17+
content:'\25BC';
18+
}
19+
</style>
20+
721
## Objective
822

9-
OVHcloud web hosting plans provide you with access to a storage space you can use to put your website and application files online. You can access this space using an FTP or SSH user account and password.
23+
OVHcloud web hosting plans provide you with access to a storage space you can use to put your website and application files online. You can access this space via FTP or SSH credentials.
1024

1125
**Find out how to connect and use SSH access on an OVHcloud web hosting plan.**
1226

1327
## Requirements
1428

15-
- an [OVHcloud web hosting plan](/links/web/hosting) with SSH access
16-
- the login credentials required to connect to your storage space via SSH
17-
- access to the `Web Cloud`{.action} section of the [OVHcloud Control Panel](/links/manager)
29+
- An [OVHcloud web hosting plan](/links/web/hosting) with SSH access.
30+
- Access to the `Web Cloud`{.action} section of the [OVHcloud Control Panel](/links/manager).
1831

1932
> [!warning]
2033
>
2134
> SSH access to an OVHcloud web hosting plan is possible from the [Pro plan](/links/web/hosting-compare) and above.
2235
2336
## Instructions
2437

25-
### Step 1: Ensure that SSH access is enabled <a name="sshcheck"></a>
26-
27-
Log in to the [OVHcloud Control Panel](/links/manager), go to the `Web Cloud`{.action} section, then click on `Hosting`{.action}. Select the name of the web hosting plan, and click on the `FTP - SSH`{.action} tab. The information associated with your storage space will now appear.
28-
29-
Find the table in the ‘SSH’ column to check if the SSH user (or ‘login’) concerned has SSH access enabled. A ‘Disabled’ label will be present if this is not the case.
30-
31-
![usessh](/pages/assets/screens/control_panel/product-selection/web-cloud/web-hosting/ftp-ssh/tab-ssh.png){.thumbnail}
32-
33-
If SSH access is disabled, click `...`{.action} to the right of the user concerned, then `Modify`{.action}. In the window that pops up, enable SSH access, then confirm the modification. If you cannot enable it, ensure that your [OVHcloud web hosting plan](/links/web/hosting) offers SSH access.
34-
35-
### Step 2: Retrieve your connection information <a name="sshlogin"></a>
36-
37-
To log in to your storage space via SSH, find the information you need in the `FTP - SSH`{.action} tab:
38-
39-
- **Active** SSH user: Locate it in the “**Login**” column of the table. As a reminder, the [user’s SSH access must be enabled](#sshcheck).
40-
- **SSH** user password: If you have forgotten this password, you can change it by clicking `...`{.action}, then `Change password`{.action}.
41-
- **SSH** server address: Locate the “**SSH** server” comment.
42-
- **SSH** server connection port: Locate the “**SSH** Port” comment
43-
44-
### Step 3: Log in to your storage space via SSH
45-
46-
To log in via SSH, use a terminal to interact directly with your storage space via command lines.
38+
To log in and use SSH access to your web hosting plan, you will need the following:
39+
40+
- the active SSH user;
41+
- the password associated with this SSH user;
42+
- the SSH server address of your web hosting plan;
43+
- the connection port to your web hosting plan’s SSH server.
44+
45+
### 1 - Make sure that SSH access is enabled for the SSH user you have chosen <a name="user-ssh-enablement"></a>
46+
47+
Click on the tabs below to view each of the **4** steps in succession.
48+
49+
> [!tabs]
50+
> **Step 1**
51+
>>
52+
>> Log in to the [OVHcloud Control Panel](/links/manager), then go to the `Web Cloud`{.action} section.
53+
>>
54+
>> ![Web Cloud](/pages/assets/screens/control_panel/product-selection/web-cloud.png){.thumbnail}
55+
>>
56+
> **Step 2**
57+
>>
58+
>> Click the `Hosting plans`{.action} menu, then select the web hosting plan concerned.
59+
>>
60+
>> ![Web Hosting](/pages/assets/screens/control_panel/product-selection/web-cloud/hosting-plans.png){.thumbnail}
61+
>>
62+
> **Step 3**
63+
>>
64+
>> On the page that pops up, click on the `FTP - SSH`{.action} tab.
65+
>>
66+
>> ![FTP-SSH](/pages/assets/screens/control_panel/product-selection/web-cloud/web-hosting/general-information/ftp-ssh.png){.thumbnail}
67+
>>
68+
> **Step 4**
69+
>>
70+
>> On the new page, the information related to your storage space will appear.
71+
>>
72+
>> In the table, locate the `SSH` column to check that the SSH user (in the `Login` column of the table) concerned has SSH access enabled. If this is not the case, the words `Disabled` will appear.
73+
>>
74+
>> ![usessh](/pages/assets/screens/control_panel/product-selection/web-cloud/web-hosting/ftp-ssh/tab-ssh.png){.thumbnail}
75+
>>
76+
>> If the SSH access of the user concerned is `Disabled` in the table, perform the following steps:
77+
>>
78+
>> - 1 : Click the `...`{.action} button to the right of the user’s line, then `Edit`{.action}.
79+
>> - 2 : In the window that pops up, in the `Connection protocols` section, select the `FTP, SFTP and SSH`{.action} choice, then click `Next`{.action}.
80+
>> - 3: Check the summary of the requested change, then click `Confirm`{.action}.
81+
>>
82+
>> > If you cannot enable it, please ensure that [your OVHcloud web hosting plan](/links/web/hosting) has SSH access.
83+
84+
### 2 - Retrieve the information you need to log in via SSH <a name="sshlogin"></a>
85+
86+
Click on the tabs below to view each of the **4** steps in succession.
87+
88+
>> [!tabs]
89+
> **Step 1**
90+
>>
91+
>> Log in to the [OVHcloud Control Panel](/links/manager), then go to the `Web Cloud`{.action} section.
92+
>>
93+
>> ![Web Cloud](/pages/assets/screens/control_panel/product-selection/web-cloud.png){.thumbnail}
94+
>>
95+
> **Step 2**
96+
>>
97+
>> Click the `Hosting plans`{.action} menu, then select the web hosting plan concerned.
98+
>>
99+
>> ![Web Hosting](/pages/assets/screens/control_panel/product-selection/web-cloud/hosting-plans.png){.thumbnail}
100+
>>
101+
> **Step 3**
102+
>>
103+
>> On the page that pops up, click on the `FTP - SSH`{.action} tab.
104+
>>
105+
>> ![FTP-SSH](/pages/assets/screens/control_panel/product-selection/web-cloud/web-hosting/general-information/ftp-ssh.png){.thumbnail}
106+
>>
107+
> **Step 4**
108+
>>
109+
>> On the new page, retrieve the elements described in the following table:
110+
>>
111+
>> |Element|Description|
112+
>> |---|---|
113+
>> |**SSH server address**| Locate `SSH server`. It is in the form `ssh.clusterXXX.hosting.ovh.net` (where each of the 3 `X` corresponds to a number between `0` and `9`).|
114+
>> |**SSH server connection port**| Locate `SSH port`. The default SSH port number is `22`.|
115+
>> |**Active SSH user**| In the table at the bottom of the page, find them in the `Login` column.<br>As a reminder, this user must [have active SSH access](#user-ssh-enablement).|
116+
>> |**SSH user password**| If you have forgotten this password, click the `...`{.action} button to the right of the row corresponding to the user concerned in the table at the bottom of the page, then `Change password`{.action}.|
117+
118+
### 3 - Log in to your Web Hosting plan’s storage space via SSH
119+
120+
To connect via SSH, use a terminal to interact directly with your storage space via command lines.
47121

48122
> [!primary]
49123
>
50-
> This tool is installed by default on macOS, Linux, and Windows 10. With an older Windows environment, you will need to install a program like [PuTTY](/pages/web_cloud/web_hosting/ssh_using_putty_on_windows), or add the OpenSSH feature.
124+
> Command terminals are installed by default on macOS, Linux and Windows 10. An older Windows environment will require the installation of software such as [PuTTY](/pages/web_cloud/web_hosting/ssh_using_putty_on_windows) or the addition of OpenSSH functionality.
51125
52-
There are now two ways of connecting to your storage space, depending on the method you use:
126+
There are now two ways of connecting to your web hosting plan via SSH.
53127

54-
#### 3.1 From a terminal
128+
**Please click on your preferred connection method below to see explanations.**
129+
130+
/// details | From a terminal
55131

56132
> [!warning]
133+
>
57134
> There is no superuser (or root) access via SSH on our shared hosting plans.
58135
59-
Once you have opened the terminal, use the following command, replacing the yourlogin’, ‘ssh.cluster000.hosting.ovh.net and ‘22’ elements with those corresponding to your SSH credentials.
136+
Once the terminal is open, use the following command, replacing the `yourlogin`, `ssh.clusterXXX.hosting.ovh.net` and `22` elements with those corresponding to your SSH credentials.
60137

61138
```bash
62-
ssh yourlogin@ssh.cluster000.hosting.ovh.net -p 22
139+
ssh yourlogin@ssh.clusterXXX.hosting.ovh.net -p 22
63140
```
64141

65-
When you run the command, you will be prompted to enter the SSH user password. Once you have connected, follow the next step: [Interact with your storage space via SSH](./#step-4-interact-with-your-storage-space-via-ssh).
142+
After sending the command, you will be prompted to enter the SSH user password.
66143

67144
![usessh](/pages/assets/screens/other/web-tools/terminal/terminal-ssh-login.png){.thumbnail}
68145

69-
#### 3.2 From a software application
146+
///
70147

71-
Open your software application (e.g. PuTTY), and enter your SSH connection details. This action will vary depending on the application you choose to use, so we cannot go into further detail on this in the guide. As a reminder, you will need to enter the following information:
148+
/// details | From a software application
72149

73-
- **SSH** server: Enter the SSH server address you retrieved during [step 2](#sshlogin). Depending on which software you are using, the field may be labelled as "Server address" or "Host Name".
74-
- **Connection port**: Enter the SSH connection port you retrieved during [step 2](#sshlogin).
75-
- **SSH** login: Enter the SSH user. Depending on the software application you use, this field may be labelled as “Login” or “Username”.
76-
- **SSH** user password: Enter the password associated with the SSH login. Depending on which software you are using, the field should be labelled as "Password".
150+
Once you have opened the software (e.g. PuTTY), enter your SSH connection details. Since this procedure involves several steps, we cannot detail this in this documentation. Here is a reminder of the information you will need to enter:
77151

78-
Once you have connected, move on to the next step.
152+
- **SSH server**: Enter the SSH server address retrieved in the [part 2](#sshlogin). Depending on the software you are using, the domain name may look like “Server Address” or “Hostname”.
153+
- **Connection port**: Enter the SSH connection port retrieved in [part 2](#sshlogin).
154+
- **SSH login**: Enter the SSH user. Depending on the software you are using, the domain name may look like “ID”, “Login” or even “Username”.
155+
- **SSH user password**: Enter the password associated with the SSH login.
79156

80-
### Step 4: Interact with your storage space via SSH
157+
///
81158

82-
To interact with your storage space, you can use commands, which each have a direct meaning. Use the list below if you need to. Please note that **this list is not exhaustive**.
159+
Once you have logged in, continue to the next section.
160+
161+
### 4 - Interact with your storage space via SSH <a name="ssh-using"></a>
162+
163+
To interact with your storage space, you will need to use commands. These have a direct meaning derived from English. Use the list below if you need to. Important: **this information is not exhaustive**.
83164

84165
|Command|Meaning|Description|
85166
|---|---|---|
@@ -93,34 +174,32 @@ To interact with your storage space, you can use commands, which each have a dir
93174
|touch `arg`|Touch|Creates an empty file with the name mentioned in the `arg` argument, if a file with this name does not already exist.|
94175
|rm `arg`|Remove|Removes the file mentioned in the `arg` argument.|
95176
|rm -r `arg`|Remove|Removes the directory mentioned as an `arg` argument, as well as all of its contents, recursively.|
96-
|mv `arg1` `arg2`|Move|Renames or moves an element (specified as `arg1`) to a new area (specified as `arg2`).|
177+
|mv `arg1` `arg2`|Move|Renames or moves an element (specified as `arg1`) to a new area (specified as `arg2`).|
97178

98-
You can also run a command to launch a script using a specific PHP version. E.g. for PHP version 7.1, use the following command, and adapt the elements to match your details.
179+
You can also launch a script using a specific PHP version. For example, for PHP version 7.1, use the following command. Adapt its elements to your personal situation.
99180

100181
```sh
101182
/usr/local/php7.1/bin/php myscript.php
102183
```
103184

104-
Depending on the PHP version you want to use, the runtime environment may need to be modified to ensure that there are no compatibility issues. Please refer to our documentation "[Web Hosting : environment, PHP version, .ovhconfig](/pages/web_cloud/web_hosting/configure_your_web_hosting)".
185+
Depending on the PHP version you want to use, the runtime environment may need to be modified for compatibility reasons. Refer to our documentation [Web Hosting - Environment, PHP version, .ovhconfig](/pages/web_cloud/web_hosting/configure_your_web_hosting)” to find out more.
105186

106187
> [!primary]
107188
>
108-
> Files and folders can also be copied using the **S**ecure **C**opy **P**protocol (**SCP**).
109-
> This protocol uses the SSH protocol to duplicate content securely between:
110-
>
111-
> - A local computer/device and a remote server.
112-
> - A remote server and a local computer/device.
113-
> - Two remote servers.
189+
> Files and/or folders can also be copied using the **S**ecure **C**opy **P**rotocol (**SCP**).
190+
> This protocol uses SSH protocol to securely duplicate content between:
114191
>
115-
> Find more information on using the `scp` command with our OVHcloud web hosting plans in our guide "[Web Hosting - Copying files with the SCP command](/pages/web_cloud/web_hosting/using-scp-command)"
192+
> - a local computer/device and a remote server
193+
> - two remote servers
116194
>
195+
> Find more information on using the `scp` command with our OVHcloud web hosting plans in our guide “[Web Hosting - Copy files using SCP command](/pages/web_cloud/web_hosting/using-scp-command)”.
117196
118197
## Go further
119198

120-
[Web Hosting : environment, PHP version, .ovhconfig](/pages/web_cloud/web_hosting/configure_your_web_hosting)
199+
[Web Hosting - Environment, PHP version, .ovhconfig](/pages/web_cloud/web_hosting/configure_your_web_hosting)
121200

122201
For specialised services (SEO, development, etc.), contact [OVHcloud partners](/links/partner).
123202

124203
If you would like assistance using and configuring your OVHcloud solutions, please refer to our [support offers](/links/support).
125204

126-
Join our [community of users](/links/community).
205+
Join our [community of users](/links/community).

0 commit comments

Comments
 (0)