28

I have been using putty to connect to one of my client server,here the problem is that copy and paste doesn't work. When I was on windows it used to work and now I want the same thing on ubuntu 13.10.

8
  • you might try adding a SHIFT to your commands, so CTRL+SHIFT+C/V. That is how how copy pasting is done in the terminal. (I also don't see how you would need Putty in Ubuntu; you can simply ssh using a terminal) May 22, 2013 at 8:08
  • @GerhardBurger Haven't done it with the terminal.May be I need to check it out. May 22, 2013 at 8:55
  • @GerhardBurger BTW do you have any document I can refer to to do a SSH connection through the trnminal. May 22, 2013 at 9:01
  • 2
    it is very simple, if you want to connect to test.server.com you simply type ssh test.server.com in the terminal. The more advanced options are described in the man pages: manpages.ubuntu.com/manpages/precise/man1/ssh.1.html May 22, 2013 at 9:09
  • @GerhardBurger Ah thanks a lot got it and sorry for the nobish question I'm bit new to ubuntu. May 22, 2013 at 9:12

9 Answers 9

26

You might try adding a Shift to your commands, so Ctrl+Shift+C / V. That is how copy pasting is done in the terminal (Ctrl+C is used to abort terminal commands). Alternatively you can try pasting by pressing Enter or the middle mouse button.

In Ubuntu, you may wish to consider not using PuTTY at all: you can simply ssh using a terminal. For example, if you want to connect to test.server.com, you could simply type:

ssh test.server.com 

If your username is different on the remote system, you can specify it by using this syntax:

ssh remote_username@remote_host

More advanced options are described in the man pages.

18

I found that selecting (left click and drag) would copy, and middle mouse (tap down on scroll wheel) would paste. It worked for me, when adding the shift did not.

2
  • 1
    I am on ubuntu 15.10. Antonius' suggestion worked for me as well. Feb 23, 2016 at 13:34
  • I am on ubuntu 18.04. Antonius' suggestion worked for me as well.
    – M. Rostami
    Mar 1, 2020 at 17:24
16

Ctrl+Shift+Insert for paste, worked for Ubuntu 12.04 and putty

0
8

Hold Ctrl and press "Right click" and enjoy it!

enter image description here

1
  • Thank you for this. Works great on Mint based on Ubuntu
    – PeterFnet
    Jan 24 at 21:25
4

With the mouse left-click, hold, and drag cursor to select+copy text to clipboard. Paste with center mouse wheel/button.

4

You can configure the copy/paste behavior on Window → Selection as below.

Putty Dialog

1

I used Ctrl and right click and it worked.

0

On my Ubuntu 16 laptop, without a wheel mouse, I ran into lots of difficulties attempting to paste text into Putty, until I tried:

  1. copying the text in another application;
  2. leaving the text selected;
  3. shifting to the Putty window;
  4. clicking Shift+Insert
0

Choose 1 of the following for yourself:

A) Press/click on scroll bar to paste.

B) Ctrl + Right Click to get list of options to perform. (One of them would be paste from clipboard).

C) Directly login from your OS's terminal without using putty by using below command:

ssh user_name@host_name

For e.g.: [email protected] Then enter your password here.

Here you can use ctrl+shift+c for copy and ctrl+shift+v as we do in ubuntu's terminal

Note: above action can be done in putty too. by going to selection section.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .