I’m running Discourse, in case it matters.
When I paste text into the console window, it shows as “s3” instead of “S3” and it’s making it impossible to paste in API keys.
Any idea how to solve this?
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.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
Hello @digitaldave
I’ll highly recommend using a ssh-client when it comes to performing tasks, developing your app and for the general droplet operations.
The recovery console is intended as a last resort option for regaining access to your droplet when normal ssh-clients will be unable to connect.
Hope that this helps!
Hey @digitaldave,
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 API Keys.
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/
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 temporarily 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_config
PasswordAuthentication
from “no” to “yes” and save the filesudo nano ~/.ssh/authorized_keys
sudo nano /etc/ssh/sshd_config
PasswordAuthentication
from “yes” to “no” and save the fileHope that this helps!