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

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
  • Instagram
  • LinkedIn

Anup Thapa primarily covers Windows systems, networking, and computer hardware at TechNewsToday. 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 from coding and hardware installation to writing. 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 skill set, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can reach out to him at anup@technewstoday.com.

Related Posts

intel wireless ac 9560 not working

Intel Wireless AC 9560 Not Working? Try these Fixes

September 16, 2023
does your ip address change when you move

Does Your IP Address Change When You Move?

July 16, 2023
locate wifi access point

How to Locate a Wi-Fi Access Point

July 6, 2023
lease time dhcp

What is DHCP Lease time? Can You Change It?

July 2, 2023
Failed to obtain IP address 1

5 Ways to Fix “Failed to Obtain IP Address”

June 30, 2023
How to Forget a Network

How to Forget a Network on Windows

June 27, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
virtualbox-vs-vmware

VirtualBox Vs VMware: Which Is Best For You?

September 20, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 20, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 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.