It is behind a router, so I signed up for a free account from no-ip.com to make my r-Pi visible to the outside world and set my router to forward port 22 from this machine.
Unfortunately, I see loads of stuff like this every day in the /var/log/auth.log:
Code: Select all
Nov 18 21:55:01 raspberrypi sshd: Failed password for root from 18.104.22.168 port 35473 ssh2 Nov 18 21:55:01 raspberrypi sshd: Received disconnect from 22.214.171.124: 11: Bye Bye [preauth] Nov 18 21:55:03 raspberrypi sshd: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=126.96.36.199 user=root Nov 18 21:55:05 raspberrypi sshd: Failed password for root from 188.8.131.52 port 35896 ssh2
Is there anything I can do to make this computer less visible or more secure? I'm only running sshd because I want to tinker around in my spare time with the scripts that will probe the sensors when I'm at the office.
Maybe I should just forget about having a permanent domain name, get dropbox write all my fishtank data logs to ~/Dropbox?
I don't know a lot about network security, but I'm starting to get paranoid !