By Lasse
I’ve tried all the tutorials on DO how to set up SSH but nothing will let me get past the access denied. I set it up originally and wanted to add another user, so I followed a tutorial on that, now I cant login with either… Is there a way to reset ssh and start over without damaging the server (being online) as there is a website connected that needs not be interrupted.
Thank you any help is appreciated…
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!
Which guide(s) did you follow? Let’s start there so we’re on the same page and we can work from there :-).
@jtittle Thank you so far so good, I have access to COnsole and root as well. I followed the steps you have outlined. Tried for kicks to ssh from local machine… Still permission denied :/
cat ~/.ssh/id_rsa.pub | ssh <user>@<hostname> 'cat >> .ssh/authorized_keys && echo "Key copied"'
That worked for me.
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.