About: If you decide to use your Raspberry Pi as a Server and expose it to the internet you will quickly see many brute-force attempts trying to login to your system. This is normal for any device that is exposed to the internet. You leave your IP Address everywhere you go and many hackers will scan your IP Address for open ports trying to expose that ports security flaws. If you have port forwarding open on your Router and it is pointed to your Raspberry Pi then it can be very easy for a hacker to brute-force your system and get inside your system.
There are many reasons why you would expose your Raspberry Pi server to the internet. For example you may be hosting a web server on your Raspberry Pi and need to forward ports so that other users can view your web page on your server. Today I will show you how to view your system authorization log on the Raspberry Pi. The commands I will show you will work on any Debian based Linux distribution like Ubuntu or Linux Mint as well as the Raspberry Pi’s Raspbian distribution.
Objective: To view failed or accepted logins on your Raspberry Pi system.
Material: You will need the following:
- Raspberry Pi (Click the link to check out the price on Amazon. Usually comes with free shipping)
Instructions: I will assume you are already running Raspbian or some other distribution on the Raspberry Pi that you will want to look at all the failed attempts in your system authorization log. Continue Reading