code
How to Paste in an SSH Terminal Without a Mouse
Learn keyboard shortcuts to paste into an SSH terminal without using a mouse on Linux, macOS, Windows, and tmux sessions.
tmux
SSH terminal
paste without mouse
macOS
Windows
WSL
PuTTY
For Linux or macOS Terminal:
- Copy:
Ctrl + Shift + C to copy text. - Paste:
Ctrl + Shift + V- Alternatively:
Cmd + V (macOS) or Shift + Insert (Linux).
For Windows (PuTTY or Similar SSH Clients):
- Copy: Select text (it automatically copies to the clipboard).
- Paste:
Right-click or Shift + Insert.
For Windows Subsystem for Linux (WSL) with Windows Terminal:
- Copy:
Ctrl + Shift + C - Paste:
Ctrl + Shift + V
For tmux or screen session:
- Copy and Paste in tmux:
- Copy:
Ctrl + B then [, navigate to the text, press Enter to copy. - Paste:
Ctrl + B then ].