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 […]
Tag Archives: ssh
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 Open the Terminal. Run sudo vim /etc/services Enter your password Find the lines assigned to port 22, something like the image below Replace both ports 22 with your desired ssh port using a number between 1024 and […]
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 […]