Copy/paste inside GUI-like editors on SSH connection #17214

Open
opened 2026-01-31 05:35:40 +00:00 by claunia · 0 comments
Owner

Originally created by @vieira-temes on GitHub (Apr 10, 2022).

Windows Terminal seems to be messing with copy/paste when I edit a file in a remote computer connected via SSH with certain editors.

The remote host is running Ubuntu 20.04. I'm trying to use micro or tilde, two editors that use standard ctrl-c and ctrl-v for copy and paste, but WT keeps pasting whatever is in the Windows clipboard, ignoring my copy commands altogether.

This doesn't happen if I ssh into the same server using Powershell or cmd.exe, so it must be something related to WT.

If there's some configuration I'm missing, I would appreciate any help.

Originally created by @vieira-temes on GitHub (Apr 10, 2022). Windows Terminal seems to be messing with copy/paste when I edit a file in a remote computer connected via SSH with certain editors. The remote host is running Ubuntu 20.04. I'm trying to use micro or tilde, two editors that use standard ctrl-c and ctrl-v for copy and paste, but WT keeps pasting whatever is in the Windows clipboard, ignoring my copy commands altogether. This doesn't happen if I ssh into the same server using Powershell or cmd.exe, so it must be something related to WT. If there's some configuration I'm missing, I would appreciate any help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17214