Skip to content

Commit 2a901e7

Browse files
committed
Revision error
1 parent 9b9105b commit 2a901e7

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

support/windows-server/system-management-components/upgrade-in-box-openssh-to-latest-openssh-release.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,6 @@ By default, you use Windows Update to install and maintain the in-box OpenSSH fe
3636

3737
The GitHub version, known as Win32-OpenSSH, installs in C:\Program Files\OpenSSH, and has the newest features and fixes. However, you have to manually update it.
3838

39-
## Best practices
40-
41-
- Keep your host and user keys unchanged to avoid client trust warnings.
42-
43-
- Verify file permissions after upgrading.
44-
45-
- Monitor the Win32-OpenSSH GitHub page for future updates.
46-
4739
## Step 1: Back up the configuration and keys
4840

4941
Before you upgrade, back up all configuration and key files.
@@ -64,11 +56,13 @@ Copy-Item "C:\ProgramData\ssh" -Destination "C:\Backup\ssh_backup" -Recurse
6456
```
6557

6658
> [!IMPORTANT]
67-
> Don't change file permissions for either the source files and folders or the destination files and folders. Private keys must remain readable only by SYSTEM and Administrators. To verify the permissions, run a cmdlet that resembles the following cmdlet at a PowerShell command prompt:
6859
>
69-
> ```powershell
70-
> Get-Acl "C:\ProgramData\ssh\ssh_host_ed25519_key" | Format-List
71-
> ```
60+
> - To avoid client trust warnings, don't change the host or user keys.
61+
> - Don't change file permissions for either the source files and folders or the destination files and folders. Private keys must remain readable only by SYSTEM and Administrators. To verify the permissions, run a cmdlet that resembles the following cmdlet at a PowerShell command prompt:
62+
>
63+
> ```powershell
64+
> Get-Acl "C:\ProgramData\ssh\ssh_host_ed25519_key" | Format-List
65+
> ```
7266
7367
## Step 2: Upgrade OpenSSH
7468

0 commit comments

Comments
 (0)