I cant PASTE in console (Terminal). Does anyone help me how i can do it ?
and Can I Upload some file to the server ?
THX !!!
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!
To add your SSH key via copy & paste from your local terminal to your console - to establish the SSH connection - as explained. You need to copy the console window URL (at the top of the pop up browser frame) then add this URL to a new tab in your chrome browser - then in your chrome browser go to View>Developer>Developer Tools>Console & enter this minimised script (below) - which will enable you to PASTE your copied SSH key into the console no problems. As per answer on github https://gist.github.com/croepha/7b53f211ae4be3c526c3
!function(){function t(){function n(t,e){s=s.concat(RFB.messages.keyEvent(t,e))}var o=e.shift(),s=[],i=o.charCodeAt(),c=-1!==‘!@#$%^&*()_+{}:"<>?~|’.indexOf(o),r=XK_Shift_L;c&&n(r,1),n(i,1),n(i,0),c&&n(r,0),rfb._sock.send(s),e.length>0&&setTimeout(t,10)}var e=prompt(“Enter text to be sent to console, (This wont send the enter keystroke)”).split(“”);t()}();
Fantastic fix! Some chars are off, but nothing that vim s/g can’t fix. Saved my life in adding SSH keys via the console
If for some reason you’re at some moment unable to ssh, and you need to paste in a large chunk of text, you can paste your text into a pastebin.com. Your text will be pasted to something like pastebin.com/xxx. You can then type at the console:
curl pastebin.com/raw.php?i=xxx
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.