Last active
March 10, 2018 20:17
-
-
Save psgganesh/afc710d4c16f965455753a3d5e427582 to your computer and use it in GitHub Desktop.
Unable to access digital ocean after rebuild droplet ?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Login to console using digital ocean's browser based shell, login using root and the new password generated, | |
and carry on with below steps | |
sudo nano /etc/ssh/sshd_config | |
Change | |
UsePAM yes | |
IgnoreUserKnownHosts no | |
PasswordAuthentication no | |
To | |
UsePAM no | |
IgnoreUserKnownHosts no | |
PasswordAuthentication yes | |
Save and Reload SSH | |
sudo service ssh reload | |
If really needed login with password and revert back the changes | |
Save and Reload SSH | |
sudo service ssh reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment