Fix PowerShell Cannot Connect to SharePoint Online Setup - Windows Search 504 Error After Network Reset-Putty Connection Refused on Port 22 Fix

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.