Quote Originally Posted by volkswagner View Post
SAMBA is designed for local LAN access and is not secure for exposing to WAN.

If you have opened port 22 on your machine to the outside world, it is best to use key authentication, disable root ssh access and disable password ssh auth.

At the very minimum you should have disabled root ssh access or have a super strong password.
+1. Another thing that can be done with SSH is enabling two-factor auth by using a Google authenticator. That would allow passwords to be used but also require the input of a unique key.


Not really on topic, but maybe it will be helpful to someone.