I am planning to open up port 22 on my router to my iMac so I can login remotely. Login is required and allowed for only the admin user. The password is very secure--over 30 characters long. I'm not too worried about a bot breaking through the password but I am concerned about the system being bogged down. I looked into a few different brute-force prevention programs; sshguard, fail2ban, and Denyhosts. Each seem to have their pros and cons. However, I am finding almost zero documentation as it relates to setting one of these services up on anything above Mac OS X 10.11.
Are there other/newer services available? If not, is there any updated documentation for any of the previously mentioned services for High Sierra and the changes to the log systems? I've found a few discussion boards related to these changes to the log system but I'm looking for a tutorial for one of these services. Is there anything out there?
ssh-copy-id [email protected]
to transfer the key to Ubuntu?