By rich671994
Yesterday I created a Digital Ocean account and connected with Laravel Forge. I generated a new droplet via Forge. After it’s created, I try to log in using keys. I keep getting an “Permission denied (publickey)” error. I tried deleting the contents of my known_hosts file. After attempting to connect I got the untrusted server message and opted in. The new key was written to my known_hosts. And then the same error appeared.
Any ideas or tests I can run to see what’s happening?
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 Rich, <br> <br>Did you configure an SSH key in Laravel Forge? <br> <br>http://mattstauffer.co/blog/getting-your-first-site-up-and-running-in-laravel-forge#ssh-key
To Alex: been there, done that, moved on to Laravel Homestead and Forge on Vagrant, because it’s nifty. Thanks anyway. <br> <br>To Andrew… I actually did follow the mattstauffer.co instructions… and have cycled and recycled through various things I found on stackoverflow et al. Now it’s in DO Support’s court. <br> <br>FYI, in case anyone else has problems, the deployment from Forge seems to disable password access, so the keys are necessary, and so server-side fiddling isn’t possible. I must admit I’m no expert at this keygen stuff, but followed instructions to the letter, pretty sure. <br> <br>Thanks… I’ll try to get back here with the resolution.
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.