By Maxim
Access via Droplet console works well. Any attempt logging via SSH user@ip.x.x.x produces error : Permission denied (publickey). I have regenerated SSH, again, uploaded via Droplet console. Works well through droplet access but does not via Terminal from Mac. No idea how/where to move forward.
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 @maximcrab,
This means that your Terminal is not using the said SSH key you’ve provided your Droplet with.
You need to create an SSH key on your Mac Terminal and using the Droplet Console add it to your droplet in /root/.ssh/authorized_keys then try again.
Additionally, check your sshconfig on your Mac ~/.ssh/sshconfig and see if you haven’t specified a different place for your identity_file/sshkey.
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.