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.
9 Answers
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.
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.
-
1I am on ubuntu 15.10. Antonius' suggestion worked for me as well. Feb 23, 2016 at 13:34
-
With the mouse left-click, hold, and drag cursor to select+copy text to clipboard. Paste with center mouse wheel/button.
On my Ubuntu 16 laptop, without a wheel mouse, I ran into lots of difficulties attempting to paste text into Putty, until I tried:
- copying the text in another application;
- leaving the text selected;
- shifting to the Putty window;
- clicking Shift+Insert
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.: Andrew@120.120.30.43 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.
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