Repository: vscode
Issue: sudo reboot now shows the characters I typed in zsh for the password via remote SSH
Labels: bug,terminal-local-echo

Type: <b>Bug</b>

local machine running the VSCode is Windows 11 Pro 22H2 build 22621.3880
remote host is Rocky Linux 8.10 Kernel: Linux 4.18.0-553.8.1.el8_10.x86_64
1. start a remote session via clicking Remote Explorer -> open a existing session via Connect in Current Window
2. <sshd configured as no password allowed only via key authentication so no password prompt>
3. sudo dnf update -y (not sure if needed)
4. sudo reboot now
first the password was not shown as usual
as soon as the machine is rebooting and vscode lost connection, I see the last letter I typed in sudo in grey then flash out
during the rebooting so that vscode is still in reconnecting phase while terminal is still interactive, what ever I type I can see the letter in grey and fade out shortly

VS Code version: Code 1.91.0 (ea1445cc7016315d0f5728f8e8b12a45dc0a7286, 2024-07-01T18:52:22.949Z)
OS version: Windows_NT x64 10.0.22621
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 5800X 8-Core Processor              (16 x 3793)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled|
|Load (avg)|undefined|
|Memory (System)|31.91GB (23.25GB free)|
|Process Argv|--crash-reporter-id 3d1eabbe-7ed2-40cb-90df-1748a1189614|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (39)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-tailwindcss|bra|0.12.5
simple-react-snippets|bur|1.2.8
codesandbox-projects|Cod|0.2.135
vscode-eslint|dba|3.0.10
xml|Dot|2.5.1
prettier-vscode|esb|10.4.0
go|gol|0.41.4
ks|hap|0.0.3
tjs|hap|0.0.3
vscode-pnpm|Jac|0.0.3
elixir-ls|Jak|0.22.1
generate-index|Jay|1.7.1
git-graph|mhu|1.30.0
dotenv|mik|1.0.1
vscode-language-pack-ja|MS-|1.91.2024071009
csharp|ms-|2.34.12
vscode-dotnet-runtime|ms-|2.0.8
debugpy|ms-|2024.6.0
isort|ms-|2023.10.1
python|ms-|2024.10.0
vscode-pylance|ms-|2024.7.1
jupyter|ms-|2024.6.0
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.18
vscode-jupyter-cell-tags|ms-|0.1.9
vscode-jupyter-slideshow|ms-|0.1.6
remote-ssh|ms-|0.112.0
remote-ssh-edit|ms-|0.86.0
hexeditor|ms-|1.10.0
remote-explorer|ms-|0.4.3
debugger-for-edge|msj|1.0.15
vscode-jest|Ort|6.2.5
tyranosyntax|oru|0.24.0
vscode-yaml|red|1.15.0
lua|sum|3.9.3
intellicode-api-usage-examples|Vis|0.2.8
vscodeintellicode|Vis|1.3.1
vscode-import-cost|wix|3.3.0
pretty-ts-errors|Yoa|0.5.4


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelt:31048053
dsvsc021:30996838
bdiig495:31013172
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
legacy_priority:31082724
pythonrstrctxtcf:31093870

```

</details>

<!-- generated by issue reporter -->