Report this

What is the reason for this report?

How to disable ssh login? or recover a ssh key

Posted on March 15, 2018

Hello, Im taking over the admin of our servers, but the previous admin didn’t give us the ssh keys to connect to the servers, he configure every thing to his machine, and said that he no longer have them. I reseted the passwords but I can’t connect via terminal to any servers to add my own keys, there is a way to stop the ssh?, I tried to stop the ssh from the console on the droplet security section but it said that service.ssh don’t loaded .

There is any suggestion to fix this?



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!

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.

there are 3 ubuntus 14.04 and 2 servers with CentOs 7.0. Terminal method? Im refering from my laptop terminal trying to open a ssh connection to the servers.

The terminal thet works is the terminal that open on the droplet:access console

What OS are you running?

What terminal method are you talking about?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.