AWStats install and configure in RedHat RHEL

After brewing a great Latin America coffee from Peru I received an email from on of my clients. The client recently installed Apache on RedHat RHEL and wanted to install and configure AWStats in order to track their traffic. Personally, I don’t have much experience dealing with log files other than just using vim or …

Clean System Data storage using macOS Terminal

The other day a client contacted me panicking about one his new macOS running out of disk space. He told me his System Data storage shows over 300GB of space. I quickly remembered a related issue on older macs on how to clean system data storage using the terminal. I quickly put my moka pot …

No Matching Key Exchange Method Found when SSH Older Linux Server from macOS Sonoma

The other day I decided to upgrade to macOS Sonoma. As usual, when you do an OS upgrade something breaks. I was not able to SSH to an old Linux server. Before, when on macOS BigSur I was able to SSH to any Linux box from my Terminal. My guess is OpenSSH improved security. Anyways, …

How to Install pkg Using Terminal macOS

A client wanted to install some new Multi-factor Authentication software on the background while users where working. After brewing a great cup of Catuai coffee at home I found how to install a .pkg using the Terminal macOS. This is a simple command. Open your Terminal and ssh to the desired macOS you need to …

How to Configure SSH Server in Ubuntu

A client called me asking me to setup and configure SSH on a new Ubuntu server they got for a project. They needed the server to be accessed by a remote Web Developer they hired. After having a great cup of coffee Villa Sarchi varietal I decided to take on this one. Install SSH Server …

Enable SSH using the Terminal on macOS

The other day I was helping a client with her mac. Suddenly, Finder crashed and I ended up with just the Terminal open. This is what forced me to enable SSH using the Terminal. I decided to brew a great cup of Bourbon coffee first. To enable SSH using the Terminal is quite simple. It …

Generate SSH Key Pair in Linux to Remote Without a Password

The other day I got a new laptop and needed to generate ssh key pair. Sometimes you forget basic commands when you don’t run them on a daily basis. So, I took a short walk in Brooklyn, New York City before I started working on my new laptop setup. To generate ssh key pair in …

Using rsync over SSH to backup or transfer files

In this tutorial we will cover the steps needed to copy files with rsync over SSH in Debian or Ubuntu platform. While having amazing Catuai coffee from Honduras I learned the following. Rsync is a great tool that allows you to transfer and synchronize data between servers. The command can be used over SSH which …

How to change the default SSH port in MacOS using Terminal

This is simple. Open a terminal and follow the steps below. This worked for me on MacOS 10.13.6. Also, brew a great cup of coffee at home for inspiration. Replace both ports 22 with your desired ssh port using a number between 1024 and 32,767 Now you need to restart the services. Be sure to …

Enable Password Authentication on your droplet Digital Ocean

This one is quite simple. You will need to modify the ssh config file which is located at /etc/ssh/sshd_config. Open the /etc/ssh/sshd_config file with your favorite editor. Find or add the line PasswordAuthentication Enter the value ‘yes’ next to PasswordAuthentication It should look like: PasswordAuthentication yes Save and exit the file. The restart the ssh …