Skip to content

Commit 2350124

Browse files
ofrancChangelog botbene2k1RoRoJ
authored
feat(changelog): instances-added-openssh-server-is-now-enabled-on-window 2025-02-04 (#4350)
* feat(changelog): add new entry * Apply suggestions from code review * feat(ins): update changelog * fix(ins): fix typo * Apply suggestions from code review Co-authored-by: Rowena Jones <[email protected]> --------- Co-authored-by: Changelog bot <[email protected]> Co-authored-by: Benedikt Rollik <[email protected]> Co-authored-by: Benedikt Rollik <[email protected]> Co-authored-by: Rowena Jones <[email protected]>
1 parent f47495f commit 2350124

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: OpenSSH server now preinstalled on Windows 2022 images
3+
status: added
4+
author:
5+
fullname: 'Join the #instances channel on Slack.'
6+
url: 'https://slack.scaleway.com'
7+
date: 2025-02-04
8+
category: compute
9+
product: instances
10+
---
11+
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.
13+
The **OpenSSH Server** is installed but **disabled by default** for security reasons. To enable it at Instance creation, add the tag `with-ssh` when launching your Instance.
14+
[Read the full documentation for more details](/instances/how-to/enable-openssh-windows/)
15+

menu/navigation.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,10 @@
13531353
"label": "Send emails from your Instance",
13541354
"slug": "send-emails-from-your-instance"
13551355
},
1356+
{
1357+
"label": "Enable OpenSSH server on Windows",
1358+
"slug": "enable-openssh-windows"
1359+
},
13561360
{
13571361
"label": "Use placement groups",
13581362
"slug": "use-placement-groups"
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
meta:
3+
title: How to enable the OpenSSH server on Windows 2022 Instances
4+
description: This page explains how to enable the OpenSSH serveron Windows 2022 Instances
5+
content:
6+
h1: How to enable the OpenSSH server on Windows 2022 Instances
7+
paragraph: This page explains how to enable the OpenSSH server on Windows 2022 Instances
8+
tags: windows2022 openssh
9+
dates:
10+
validation: 2025-02-04
11+
posted: 2025-02-04
12+
categories:
13+
- instances
14+
- compute
15+
---
16+
17+
The latest release of **Windows Server 2022** and **Windows Server 2022 Core** images includes the **OpenSSH Server** and **OpenSSH Client** packages by default.
18+
19+
<Message type="tip">
20+
- The **OpenSSH Server** is installed but **disabled by default** for security reasons.
21+
- To enable it at Instance creation, add the tag `with-ssh` when launching your Instance.
22+
</Message>
23+
24+
## Enabling OpenSSH at Instance creation
25+
26+
Use the following CLI command to create a new Instance with OpenSSH Server enabled:
27+
28+
```sh
29+
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}
30+
```
31+
32+
## Enabling OpenSSH on an existing Instance
33+
34+
If your Instance was started **without** the `with-ssh` tag, you can enable OpenSSH manually by running the following PowerShell command:
35+
36+
```powershell
37+
Start-Service sshd
38+
```
39+
40+
Once started, load the SSH keys configured in your Project using the following command:
41+
42+
```powershell
43+
PS C:\Users\administrator> Scw-Fetch-SSH-Keys
44+
```
45+
46+
This ensures your SSH keys are loaded and ready for authentication.

0 commit comments

Comments
 (0)