Report this

What is the reason for this report?

How do you copy text from windows/os environment to the droplet Ubuntu Console

Posted on December 15, 2016

as I have command written in the text format , just need to copy paste to the console



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

It depends on your SSH client.

If you are using Windows and Putty to connect to your server, press left mouse button an drag to select text. Once you release left click, text should be copied to your clipboard. In order to paste in Putty windows, just press right click.

In case you are using Linux/OS X terminal to connect, select your text and use CTRL+SHIFT+C to copy and CTRL+SHIFT+V to paste.

But if you are using DigitalOcean Web Console, you can’t copy and paste to it.

Hello, all

The Copy/Paste functionality of our web console is a bit odd; the code backing it is custom due to the way the VNC window is implemented for accessing your Droplet. It isn’t a good idea, in my experience, to rely on the console for long copy/pasting like an SSH key.

My recommended method to get the key on the Droplet is over SSH itself. You can refer to the below articles:

https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/ https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/openssh/ https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/putty/

Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.