github / github/copilot-cli

Copilot CLI remote SSH session reports “Copied” but clipboard remains empty on macOS

オープン
#4,551 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

triage
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

Describe the bug

Summary

When using Copilot CLI on a remote Linux machine over SSH from macOS Terminal, copy actions report success ("Copied to clipboard") but the selected text is not actually placed into the macOS clipboard.
Environment

Local OS: macOS (Apple Terminal)
Terminal: Terminal.app Version 2.15 (470.2)
Connection: ssh -p <port> <host>
Remote OS: Ubuntu 24.04.4 LTS
Copilot CLI version: 1.0.80

Steps to Reproduce

From macOS Terminal.app, connect to a remote Ubuntu machine via SSH:
    ssh -p <port> <host>
Run Copilot CLI on the remote machine.
Generate output in the CLI and select part of the text in the terminal.
Try to copy the selected text (right-click copy or Ctrl+C in the terminal context).
Observe that Copilot CLI shows a "Copied" confirmation message.
Paste into another app on macOS (e.g., Notes/TextEdit).

Expected Behavior

Selected text should be copied to the macOS system clipboard and be available for paste in other local apps.

Actual Behavior

Copilot CLI shows a "Copied" confirmation, but the text is not present in the macOS clipboard.

Additional Notes

Reproducible every time.
Also reproducible on machines other than mine.
This does not happen when Copilot is used locally (without SSH / without remote host).
Affected version

GitHub Copilot CLI 1.0.80

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、macOS Terminal.app から SSH 経由で Ubuntu 24.04.4 に接続し、Copilot CLI 1.0.80 のコピー フローを再現します。リモートセッションで CLI がターミナルの選択とクリップボードの報告をどのように処理するかを追跡し、その後、ローカルセッションが引き続き動作する一方で、コピーしたテキストをローカルの macOS アプリで利用できることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
linux, macos, shell
領域
cli, networking, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。