How to disable ssh login? or recover a ssh key

March 15, 2018 1.6k views

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?

2 Answers

What OS are you running?

What terminal method are you talking about?

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

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!