Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I copy and paste into console in digital ocean?

The console in the digital ocean like this :

enter image description here

I try to copy and paste my username and password, but it does not work

I try ctrl+v and right click on the mouse. It does not work

How can I do it?

like image 551
Success Man Avatar asked Feb 12 '18 02:02

Success Man


People also ask

How do you paste into console in digital ocean?

Using CTRL, + Ctrl + * inser, you can use the shortcut rb in the clipboard and paste it into the field under “Opened Console”. Afterwards, you can paste by selecting: * CTRL > + V.

How do you copy and paste into console?

Similarly, you can use Ctrl+shift+C to copy text from the terminal and then use it to paste in a text editor or web browser using the regular Ctrl+V shortcut. Basically, when you are interacting with the Linux terminal, you use the Ctrl+Shift+C/V for copy-pasting.

How do you paste into a console in HTML?

Use Ctrl-V/Paste to paste the text where desired on your local system.


1 Answers

Alternatively, you can also upload your file to file.io and curl that in a more simple way.

file.io also deletes the file after access.

Step 1: Upload file to file.io
Step 2: Copy the generated link that file.io generates
Step 3: Curl the webpage and save it. (First command)
Step 4: Append it to the "authorized_keys" file in your .ssh folder.(Second command)

Commands to enter:

curl fileIOLink -o fileNameOnServer
cat fileNameOnServer >> authorized_keys

I believe this solution helps as it appears easier to simply upload to file.io since it does not require an account to use.

like image 106
Kim Christensen Avatar answered Sep 29 '22 13:09

Kim Christensen