Hello
I was subscribed to Laravel Forge couple weeks ago, now I canceled my subscription and I can’t access to my server using SSH.
Don’t know if it’s related to canceling subscription.
I’m noob to SSH, I only used it once I started to use Forge so I don’t know what could be the problem.
I always get this error: Permission denied (publickey).
Can someone help me.
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!
I think you can renable password authentication by going to the ssh config file and executing the following code. (Access your server by using the console on the DO control panel.)
nano /etc/ssh/sshd_config
Once in the file find a section that look like this and change no to yes
PasswordAuthentication no
Save the file and reload ssh config with this
/etc/init.d/sshd restart
Now, I wouldn’t recommend for you to keep it this way but at least now you can access ssh normally and setup new keys for you server. Once you setup new keys just go back into the configuration file and change ‘yes’ back to ‘no’
Hope this helps
Good Luck!
Have you try accessing the server through the DO console in the control panel? if not, try loggin in there and see if you can.
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.