[2021.4.1-preview] Unusual Control Characters In SSH Session
See original GitHub issueIssue Type: Bug
ANSI escape characters show up in SSH remoting sessions in integrated console.
- Does not happen in dedicated terminal (non-integrated)
- Downgrading to 2021.2.1 seems to resolve the issue however it is intermittent and not readily reproducible, seems to occur when a lot of text is scrolled across the terminal at once.
Also observed here: https://twitter.com/Phatmandrake/status/1380171258998980612
Extension version: 2021.2.1 VS Code version: Code - Insiders 1.56.0-insider (bb90ba3d5a5f8d114045b045f3bbe1ebc404f54a, 2021-04-07T12:30:14.880Z) OS version: Windows_NT x64 10.0.19043 Fetching remote diagnostics for ‘ssh-remote+tinycloud’ timed out. Remote OS version: Linux x64 5.4.0-66-generic
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 4700U with Radeon Graphics (8 x 1996) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: unavailable_off rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.37GB (3.14GB free) |
Process Argv | –folder-uri file:///c%3A/Users/JGrote/Projects/Press --crash-reporter-id 4453efaa-0821-4555-88e2-3de8bad9109e |
Screen Reader | no |
VM | 0% |
Fetching remote diagnostics for ‘ssh-remote+tinycloud’ timed out.
Item | Value |
---|---|
Remote | SSH: tinycloud |
OS | Linux x64 5.4.0-66-generic |
CPUs | Intel® Xeon® CPU E5-2695 v2 @ 2.40GHz (4 x 2399) |
Memory (System) | 4.33GB (0.81GB free) |
VM | 0% |
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30244315
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30259475
pythonvsnew554:30265444
pythontb:30258533
wslfolderdoccf:30278406
vsget980:30283264
vspre833cf:30267465
pythonptprofiler:30281269
vscnewfiletext:30280636
vshan820cf:30276953
pythondataviewer:30285072
vscus158cf:30286554
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:18 (6 by maintainers)
Top Results From Across the Web
ssh pseudoterminal special character problems
The fix was to edit /etc/default/locale . It contained LANG=C . I changed it to LANG=en_US.UTF-8 . If I used ssh without -t...
Read more >Strange terminal behavior with special characters over SSH ...
This happens when I go WSL (Ubuntu 16.04) -> SSH -> (Ubuntu 16.04) (tried against two different remote Ubuntu hosts). It does not...
Read more >PuTTY inserts random characters during a session - Super User
Bring the Putty session in focus. On your bash command prompt press Ctrl+V (This is required to get the special code for the...
Read more >Pasting into SSH on remote server causes weird characters ...
When I connect to any of my remote Ubuntu servers, most if not all will print extra characters at the front and back...
Read more >Using the SSH "Konami Code" (SSH Control Sequences)
Next, press the tilde character (shift + backtick) followed by another character. What are the support escape sequences, you ask? Well, press "?...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks to @Tyriar there is a workaround https://github.com/microsoft/vscode/issues/120352#issuecomment-817816959 while this bug is being investigated:
And before you ask I tried without my custom prompt as well, it still happens, additional reproduction in the twitter link from someone else who had the problem in a non-SSH environment (I believe) 😃