December 2018
Beginner
826 pages
22h 54m
English
Because we've got our public keys on this host, we no longer need to allow password-based access.
Find the PasswordAuthentication line:
#PermitEmptyPasswords noPasswordAuthentication yes
Change this line to no:
#PermitEmptyPasswords noPasswordAuthentication no
Restart the SSH daemon:
[vagrant@centos2 ~]$ sudo systemctl restart sshd
Read now
Unlock full access