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 …

How to Generate SSH Key Pair in Linux

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 …

How to Recover from Lost SSH Keys Digital Ocean

Hola! This happen on a couple of occasions to me. First, you will need to force your droplet to generate a new root password. Select your droplet from the Droplets menu. You will be presented with the option to reset root password. Click on the ‘Reset Root Password’ button and a new root password will …