In this tutorial I will show you how to enable remote SSH with password-less login in Ubuntu using SSH keys.

INSTALL SSH

Once you are logged on to your Ubuntu instance, launch Terminal if in GUI or just issue the command below (server – without GUI):

sudo apt-get install openssh-server

Enter your password then press Enter

Verify the packages that will be installed, then type y for yes and press Enter

That is it! You now have a fully functional SSH server that will accept remote SSH logons with usernames and passwords.

Lets give it a quick shot. Here I have two instances (ubuntu – on the left / ubuntu-b on the right). Both instances have SSH installed on them following the same steps above. I will SSH from ubuntu-b (right) to ubuntu (left)replace “hyperexpert”

In this post, I will show you how to install MySQL server with phpMyAdmin to manage it. phpMyAdmin requires Apache2 to be installed, refer to this guide if you don’t already have it installed.

Once you are logged on to your Ubuntu instance, launch Terminal if in GUI or just issue the commands below (server – without GUI):

MySQL Server

sudo apt-get install mysql-server

Verify the packages that will be installed, then type y for yes and press Enter

You will see the installation begin then pause to ask you to configure a root password for MySQL. (This is different than the machine root account password) – Enter your new MySQL root password then press Ok