Secure ShellFish
All topics

Connect to Windows

Install OpenSSH on Windows as an Optional Feature, then connect to the IPv4 address shown in network settings. From a terminal you can also install via PowerShell as Administrator: Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0

Start the OpenSSH server with Start-Service sshd and set it to launch automatically with Set-Service -Name sshd -StartupType Automatic.

Your Windows account needs a password (added under Sign-in options) for password authentication; public-key authentication lives under %USERPROFILE%\.ssh\authorized_keys.

The PC is usually only reachable when your iPhone, iPad or Mac is on the same network unless you configure VPN, Tailscale, or port forwarding.

Microsoft Docs