Enable SSH Key based authentication and Disable Password Authentication in ssh
Article ID: 302 | Rating: Unrated | Last Updated: Tue, Apr 21, 2020 at 5:31 AM
Hardening Authentication in SSH.
- Enable SSH Key based authentication
- Disable Password Authentication in sshd configuration file
root@gateway :vi /etc/ssh/sshd_config
# To disable tunneled clear text passwords, change to no here!
root@gateway : service sshd restart