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
Root Access With SSH - PermitRootLogin or PasswordAuthentication
I just did a one click install of MongoDB. I’m SSH into the machine and its all ok.
Now, I want to disable password to the machine to prevent brute force, however two different articles are stating two different things to achieve this:
The later, I can’t actually see this in my /etc/ssh/sshd_config file.
Also by doing this I presume if I access the console via the Digital Ocean page, I can still use the password to login?
If not, then what would happen the certs on my machine went missing?
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.×