Can copy/paste from one Linux terminal to Windows in PuTTY, but not another
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can copy/paste from one Linux terminal to Windows in PuTTY, but not another
I have a strange issue here that I cannot seem to get to the bottom of.
I have several Linux servers I use and my ssh client is PuTTY. I can copy and paste text from Linux Server1 to my Windows Desktop (Notepad) just fine. However, when I open up another PuTTY session with Linux Server2 and I try the same thing, same SSH client (PuTTY) and everything, I cannot. I try to paste, nothing. I'll go in and check but I'm pretty sure I can copy and paste within the terminal, just not externally.
Why might this be? Has anyone else seen behavior like this before? I double-checked the settings under PuTTY - window - selection and it is set to auto copy selected text to system keyboard and also all of the other settings are default (again it works in one session and not the other)
Thanks a lot for your suggestion! I was highlighting in PuTTY and right-clicking on Windows to paste (which was the default setup). But I seem to have resolved it with a reinstallation. For anyone else with this issue, I have no idea what ended up causing it and after trying to figure it out again today I uninstalled and reinstalled on a whim. This fixed it for whatever reason. I don't know what version of PuTTY I had before but now I have 0.73 and it works fine. Now copy/paste works from all of my Linux servers to Windows. Weird.
The PuTTY Window -> Selection tab controls how copy/paste works. This can be set differently for each saved connection.
My guess would be that the odd one got tweaked somehow. An uninstall reinstall might have cleared all your connection settings. Did you have to reset each one up?
(I'm very careful to preserve those...I don't even recall the passwords to some of the servers I occasionally ssh to)
When I set up a new PuTTY installation, I typically edit and save the Default configuration so that every new connection I define works the same, and as I want it to.
I only had one saved server and Default and I checked back and forth between PuTTY and the Selection tab and both of those settings were on the default. It could very well be that I missed something, but I don't remember ever going in and changing any of it. In the future, thanks for the tip! and now that I have it installed fresh I will set it up the way I want to now and will import some saved connections.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.