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
ssh login key question ..............
So, I add ssh key, good.
I can log in through ssh @root without password, great.
I keep reading about disabling root login for security, is this if you were not to set up an ssh key.?
If i disable root login, then my whole ssh key would be worthless correct,.?
I can create a second sudo account, disable root, but this second account would not be using the key, just the password I gave that account..
Is this correct.?
How do you all have accounts set up with ssh keys.?
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.×