I am a WordPress user, and my site shows the error of “Error establishing a database connection” so I head over to the digital ocean dashboard and opened the console, I tried to paste the restart code there, but instead of doing Cntrl+V, I did Cntrl+Shift+V, and that ^C, came, and then I tried to do the Cntrl+V command to paste my restart command, but it freezes, now it is not registering any of the keyword presses or strokes, now what should I do?
See the screenshot https://prnt.sc/u7ggmk
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!
Hi @brucerobles,
Usually, the Ctrl+Shift+V should actually do the trick. That is the proper way to paste on a terminal.
Having said that, looking at the screenshot provided, it seems like you were under really high load and it was just lagging out. It seems something was hitting your droplet very hard and thus the server had to kill processes.
There are two options here, one is to upgrade your droplet and two, is to find the source of the issue and ty to remidy it.
Regards, KFSys
Hi @brucerobles,
Usually, the Ctrl+Shift+V should actually do the trick. That is the proper way to paste on a terminal.
Having said that, looking at the screenshot provided, it seems like you were under really high load and it was just lagging out. It seems something was hitting your droplet very hard and thus the server had to kill processes.
There are two options here, one is to upgrade your droplet and two, is to find the source of the issue and ty to remidy it.
Regards, KFSys
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 enable PasswordAuthentication for your Droplet by modifying your /etc/ssh/sshd_config file. Once set to Yes restart the SSH service and connect via an SSH client for a more stable connection. You can then modify your ~/.ssh/authorized_keys file to add the appropriate public key.
This should do the job for you as well.
The other option is to temporary enable the PasswordAuthentication from no to yes in order to access your droplet using password and then once you’ve entered your key to disable the PasswordAuthentication again. This way is considered more secure than uploading the key to a Dropbox in case you don’t have any other server to us.
sudo nano /etc/ssh/sshd_configPasswordAuthentication from “no” to “yes” and save the filesudo nano ~/.ssh/authorized_keyssudo nano /etc/ssh/sshd_configPasswordAuthentication from “yes” to “no” and save the fileHope that this helps! Regards, Alex
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.