Description:
From the reference link, there are ten of them, but for my personal view point, i though below skills are the most import.
By editing the configuration /etc/ssh/sshd_config
vim /etc/ssh/sshd_config
PermitEmptyPasswords no
PermitRootLogin no
AllowUsers {user1} {user2}
Protocol 2
Port {other port than 22}
Refers to Use public/private key for authentication
Refers to How to add google authenticator to ssh [centos]
/etc/init.d/sshd restart
# or service sshd restart
ssh-keygen -b 8192 -f /etc/ssh/ssh_host_rsa_key_regen -N '' -t rsa
ssh-keygen -f /etc/ssh/ssh_host_ed25519_key_regen -N '' -t ed25519
# ecdsa maybe NSA backdored
# Do not use
#ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa -b 521
Update /etc/ssh/sshd_config
HostKey /etc/ssh/ssh_host_rsa_key_regen
#HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key_regen
#Comment below key
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key
Update opensshserver.config
vim /etc/crypto-policies/back-ends/opensshserver.config