Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Networking»How To Copy and Paste In PuTTY Terminal

How To Copy and Paste In PuTTY Terminal

Anup ThapaBy Anup ThapaAugust 24, 2022
copy paste putty

As a terminal emulator, copying and pasting works differently in PuTTY compared to the Windows GUI environment.

For instance, pressing CTRL + C in hopes of copying some text would instead send a SIGINT (interrupt) signal and terminate some program. If you’re new to PuTTY, this will likely leave you confused, as most users are. 

Worry not, though, as we’ve detailed how to perform copy-paste operations with your mouse, using keyboard shortcuts, and more in this article.

Table of Contents

  • Default Copy Paste Options in PuTTY
  • Customizing PuTTY Settings
  • How to Copy Paste Between PuTTY and Local Machine?
  • Why is PuTTY Copy Paste Not Working In Linux?

Default Copy Paste Options in PuTTY

First of all, PuTTY doesn’t have its own clipboard, as some users think. It uses the same clipboard as Windows for copying and pasting; it’s just that the keys used for this are different.

  • For instance, to copy the text, you simply hold and drag the left mouse button so as to select the text.
    drag-left-mouse-putty-selection
  • Upon releasing the button, the text will be copied to the clipboard. After you’ve released the left button, you can also use the middle button to extend the selection.
  • You can also double-click with the left mouse button to select a word, and triple-click to select a sentence.
  • If you want to make a rectangular block selection instead of the usual one that encompasses the entire line, you can use Alt + drag for this by default. In some UNIX environments, you may instead have to use Shift + Alt + drag.
    putty rectangular block selection
  • PuTTY uses right-click by default for pasting the text. You can use the arrow keys to position the cursor appropriately, then right-click to paste the contents from the clipboard.
    putty-copy-paste
  • You can press CTRL + Right Click to bring up the contextual menu and select paste for the same purpose. Pressing CTRL + Insert or Shift + Insert also accomplishes the same thing if you prefer keyboard shortcuts.

Customizing PuTTY Settings

The configurations detailed above are just the default settings. If those don’t appeal to you, PuTTY offers numerous different sets of settings to choose from.

putty selection configurations

To control mouse actions, you can select from:

  • Windows Mode – The middle button extends, and the right button brings up the menu.
  • Compromise Mode – The default mode, where the middle button extends and the right button pastes.
  • Xterm Mode – The middle button pastes, while the right button extends instead.

You can select the normal mode or the rectangular block selection mode as the default one. Depending on which is the default, you can use Alt + drag to perform the other one.

You can specify whether or not to auto-copy the selected text to the system clipboard. For instance, if you’re primarily using keyboard shortcuts to copy the text, accidentally auto-copying some contents because of the mouse selection could be annoying.

You can also control the results of mouse paste, CTRL + Insert, Shift + Insert, CTRL + Shift + C, and CTRL + Shift + V. You can specify whether these copy or paste the last selected text, copy from, or paste to the system clipboard, or disable them entirely with no action.

The final option in the Selection tab allows you to permit control characters in pasted text.

If you want, you can also include formatting information with the Rich Text Format (RTF) via the Selection > Copy tab. Do be careful when pasting formatted text as automatic indenting may ruin the formatting in the editor.

putty selection copy

How to Copy Paste Between PuTTY and Local Machine?

Copying and pasting in a PuTTY session is the difficult part. For that, the methods we’ve explained above will be helpful. Once you’ve learned how to copy and paste within PuTTY, doing the same between PuTTY and your local machine is as simple as it gets. For instance, on Windows, just use CTRL + C to copy or CTRL + V to paste items.

Why is PuTTY Copy Paste Not Working In Linux?

Unlike Windows, which has a single clipboard, Linux typically uses two clipboard buffers; CLIPBOARD and PRIMARY. Primary is generally used for copy-paste operations in terminals, while Clipboard is used elsewhere.

In most cases where the PuTTY copy paste doesn’t work in Linux, it’s because users copy into one buffer and try pasting from another. You can easily resolve this by going to the Selection tab and using the CLIPBOARD buffer for all actions.

putty configuration
how-to
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

wifi-keeps-disconnecting-windows-11

Wi-Fi Keeps Disconnecting on Windows 11? 9 Ways to Fix It

February 26, 2023
windows-cannot-access-network-drive

Fix: Windows Cannot Access Network Drive

February 23, 2023
how to check wifi speed in laptop

3 Simple Ways to Check Wi-Fi Speed in Laptop

February 23, 2023
network_adapter_not_working

Network Adapter Not Working? 15 Ways to Fix It

February 22, 2023
Surface WiFi Not Working

Why is My Wi-Fi Not Working on Surface Laptop? 10 Ways to Fix It

February 22, 2023
change-network-profile-windows

4 Ways to Change Network Profile in Windows

February 22, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
dism-vs-sfc-vs-chdsk

DISM, SFC, CHKDSK: What’s the Difference

February 28, 2023
bios-settings-for-gaming

Best BIOS Settings for Gaming

February 16, 2023
You may also like
how-to-clean-hp-printer-rollers

How to Clean HP Printer Rollers

March 3, 2023
keyboard input lag

9 Ways to Fix Keyboard Input Lag

March 3, 2023
keyboard key is stuck

How to Fix a Stuck Key on a Keyboard

March 3, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.