Remotely shutting down a Windows 10 PC with SSH

Sources:
Solution to shell_command error 255, courtesy @keith-michael

Installation of OpenSSH For Windows Server 2019 and Windows 10
Setting up OpenSSH for Windows using public key authentication (Stack Overflow)
Generating a new SSH key and adding it to the ssh-agent
switch.wake_on_lan Component