Enable SSH Key based authentication and Disable Password Authentication in ssh
Hardening Authentication in SSH.
- Enable SSH Key based authentication
- Disable Password Authentication in sshd configuration file
[email protected] :vi /etc/ssh/sshd_config
# To disable tunneled clear text passwords, change to no here!
[email protected] : service sshd restart