I have the exact same problem when I connect to lxplus from my mac.
I have also tried to permit Pty allocation to avoid the -T flag when running ssh (after finding https://github.com/microsoft/vscode-remote-release/issues/7673) but this does not solve the problem!
VSCode version: 1.94.2
macOS Ventura 3.6.6 (22G630)