By Iowa Packers
Newbie
I have looked through the docs, followed the guides, but I am not sure what I am doing wrong. I created SSH two keys. One public and one private. They are in the root directory of my macbook. I uploaded the public key in the proper places on the dashboard. I tried running ssh root@ip but got “permission denied” publickey. Then I tried to specify the file using ssh -i /users/name/name-of-private-key userid@ip, but still. still… still… got “permission denied, publickey” This is the first step and I already feel like a failure. Please help. Thank you.
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 there @IBP0,
There are a few things that I could suggest:
chmod 600 /users/name/name-of-private-key
Note, change the /users/name/name-of-private-key with the actual path to your private key.
-vvv tag:ssh -vvv -i /users/name/name-of-private-key userid@ip
This should give you more information on what the problem could be.
https://www.digitalocean.com/docs/droplets/resources/console/
Hope that this helps! Regards, Bobby
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.