Make sure you have relevant packages installed
sshd
daemon, type the following at a shell prompt:
systemctl start sshd.service
sshd
daemon, use the following command:
systemctl stop sshd.service
systemctl enable sshd.service
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed.
/etc/ssh/
directory (see Table 8.1, “System-wide configuration files” for a complete list), and restore them whenever you reinstall the system.