I have SSH keys setup for access for root and the one regular user I added.
I would like to:
Disable remote root login of any kind.
Allow user1 to sudo without password once logged in via SSH keys.
Disallow remote logins of any kind without SSH keys (disable password use completely).
Allow SFTP connections with SSH keys only.
Can anyone help by telling em the steps I have to take?
This app install runs Ubuntu 14.04
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.