I spent about an hour troubleshooting this issue on a new Debian 12 Server, and finally was able to get around this by enabling the "Remote.SSH: Remote Server Listen On Socket" setting.
Hope this helps anyone who doesn't find success with any of the other fixes shown.