fail2ban software I have a number of servers, including a few on the home office network, that accept SSH connections. Even though they are serving on different (non-standard) SSH ports, there are regular attempts made to break it via brute-force … [Continue reading] about How To: Use fail2ban to Protect SSH
Listening TCP ports in macOS I was researching SSH daemon configuration on my macOS Catalina system and realised that lsof is still the best tool for meaningfully confirming network ports that are LISTENed to. What does it mean for port to … [Continue reading] about Confirm Actively Listening TCP Ports with lsof
Unix Tutorial Digest: monthly digest of Unix/Linux topics It's time for another Unix Tutorial digest - this issue covers notable events and releases in December 2019. I also plan to start annual digests, will try and publish the Unix Tutorial … [Continue reading] about Unix Tutorial Digest – January 4th, 2020
Upgrading to tmux 3.0a I have completely missed the tmux 3.0 release, so it's long overdue that I'm taking time now to upgrade tmux to version 3.0a on my macOS systems. Upgrading tmux with brew All it takes to upgrade tmux with Homebrew is … [Continue reading] about Upgrading tmux in macOS
Unix Tutorial Hey everyone, just wanted to wish you all a Happy New Year and to welcome you into 2020! Unix Tutorial: 2019 in Numbers 2019 has been the greatest year in all of the UnixTutorial.org history: 970K views - that's just one … [Continue reading] about Welcome to 2020!
Check Python Version As you improve your basic Python skills, you're going to find out (usually the hard way) that Python 2.x and Python 3.x are not as compatible as you expected. That's why it's important to establish Python version before … [Continue reading] about Check Python Version
Merry Christmas! Greetings from Germany! We're spending Christmas break away from Ireland this year, so most of the week has been pre-scheduled posts as I'm offline until we come back. Want to take a moment and wish you a very happy … [Continue reading] about Merry Christmas!
Showing next few lines with grep Now and then I have to find some information in text files - logs, config files, etc. with a unique enough approach: I have a hostname or parameter name to search by, but the actual information I'm interested in is … [Continue reading] about Show Next Few Lines with grep
Jekyll 4 This is a fairly straightforward procedure, I just want to capture it here for my own future use. Install Ruby Version 2.4.0 or Better Your macOS comes with Ruby pre-installed, but unfortunately it's not recent enough to support … [Continue reading] about Install Jekyll 4 in macOS
Changing hostname with scutil in macOS Standard command like hostname will still work in macOS, but perhaps it's best to use the native way of updating system information on your Mac? scutil command is here to help. Change Hostname with … [Continue reading] about How To Change Mac Hostname with scutil