Hardwood U: gaming PC setup, step 3

Steps 1 (Steam), 2 (Git) and 4 (no auto-lock) are done. This is step 3: the SSH server and the modding PC's key.

3a. Open an admin terminal

Right-click Start, choose Terminal (Admin) (or Windows PowerShell (Admin)), and say Yes.

3b. Install the OpenSSH Server (1-3 minutes)

Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

It worked when it shows Online : True and RestartNeeded : False.

If it errors: Settings > System > Optional features > View features, search "OpenSSH Server", Install, then go on to 3c.

3c. Start it and add the modding PC's key (one line)

Start-Service sshd; Set-Service sshd -StartupType Automatic; $k='C:\ProgramData\ssh\administrators_authorized_keys'; Add-Content -Path $k -Value 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDTMbaY/JQIY/OHNnlWJjDLZd7Yb99QcO1IKLbAgYFkK hwu-testpc-from-pc1'; icacls $k /inheritance:r /grant 'Administrators:F' /grant 'SYSTEM:F' | Out-Null; Restart-Service sshd; Get-NetConnectionProfile | Set-NetConnectionProfile -NetworkCategory Private; Set-NetFirewallRule -Name OpenSSH-Server-In-TCP -Profile Private; Get-Service sshd; Test-NetConnection localhost -Port 22 | Select TcpTestSucceeded

It worked when it ends with Running sshd OpenSSH SSH Server and TcpTestSucceeded : True.

This turns on SSH sign-in on port 22, reachable only from your home network and only with the modding PC's key. Your password is never used.

3d. Tell Claude it's done

Claude then signs in from the modding PC and starts the copy (about 430 GB to D:, roughly 2 hours).