The things people get wrong
When configuring SSH an incredible amount of servers aren’t set up correctly and this causes them to be extremely vulnerable to even automated attacks. Common mistakes include failing to disable root login, permitting password-based authentication instead of key-based authentication and more.
Install OpenSSH server
First install openssh on your machine. You can usually do this on Ubuntu based distro using sudo apt install openssh-server. Now before enabling the initially vulnerable service it’s time to make some changes.