The SSH server configuration requires GSSAPIAuthentication yes
.
Ref: https://snozzberries.github.io/2023/08/29/powershell-ssh.html
$r=[System.Net.WebRequest]::Create("https://github.com/PowerShell/PowerShell/releases/latest")
$r.AllowAutoRedirect=$false
$r.Method="Head"