Skip to content

Commit 4723791

Browse files
authored
Apply suggestions from code review
1 parent 5512cfb commit 4723791

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed
Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,40 @@
11
---
2-
title: OpenSSH server is now enabled on Windows 2022 images
2+
title: OpenSSH server now preinstalled on Windows 2022 images
33
status: added
44
author:
5-
fullname: ''
5+
fullname: 'Join the #instances channel on Slack.'
66
url: 'https://slack.scaleway.com'
77
date: 2025-02-04
88
category: compute
99
product: instances
1010
---
1111

12-
The newest release of the Windows 2022 server and Windows 2022 core images now have the OpenSSH Server and OpenSSH Client packages installed by default.
12+
The latest release of **Windows Server 2022** and **Windows Server 2022 Core** images now includes the **OpenSSH Server** and **OpenSSH Client** packages by default.
1313

14-
The OpenSSH Server is installed and disabled by default for security purposes. It can be enabled at instance creation time by adding the tag `with-ssh` to the instance when it is created.
14+
- The **OpenSSH Server** is installed but **disabled by default** for security reasons.
15+
- To enable it at instance creation, add the tag `with-ssh` when launching your server.
1516

16-
This is an example of a CLI command to start a server with OpenSSH Server enabled :
17-
```
17+
#### Enabling OpenSSH at Instance creation
18+
19+
Use the following CLI command to create a new Instance with OpenSSH Server enabled:
20+
21+
```sh
1822
scw instance server create name=win2k22-core image=windows-server-2022-core tags.0=with-ssh type=POP2-2C-8G-WIN admin-password-encryption-ssh-key-id={ssh_key_id}
1923
```
20-
If your instance has been started without the tag and you want to enable OpenSSH Server, simply use the following Powershell command :
2124

22-
```
25+
#### Enabling OpenSSH on an existing Instance
26+
27+
If your instance was started **without** the `with-ssh` tag, you can enable OpenSSH manually by running the following PowerShell command:
28+
29+
```powershell
2330
Start-Service sshd
2431
```
25-
You will then need to load the ssh keys configured in your project by using the ScalewayEcosystem command :
26-
```
32+
33+
Once started, load your SSH keys configured in your project using the following command:
34+
35+
```powershell
2736
PS C:\Users\administrator> Scw-Fetch-SSH-Keys
37+
```
38+
39+
This ensures your SSH keys are loaded and ready for authentication.
2840

0 commit comments

Comments
 (0)