Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Accidentally replaced id_rsa.pub in .ssh root, unable to connect to server.
I was shifting some files under SFTP in .ssh and I had accidentally replaced the idrsa.pub in the server with my Mac Pro’s idrsa.pub. Now I cannot connect to my server via ssh and console!
I have tried running the image backup but it does not seem to do any changes in regards to server settings.
What should I do? I have two sites hosted there and both are down.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×