Apache is one of the most widely used web servers to serve web content across the internet. With its flexibility and power, Apache can support almost any web developer’s needs. With this power, Apache has the ability to service multiple domain names from a single server. This is accomplished with virtual hosts. Each virtual host services a specific domain, and points to a specific directory containing the web content it will deliver back to the user.
In most cases, I use the normal password-based authentication with Open-SSH. Password-based authentication is commonly used in environments where the user or administrator is continuously changing systems. In this situation, password-based authentication is best. Considering this form of authentication is less secure, I reviewed a few of my servers, and decided one of them did not need this form of authentication. So I decided key-based authentication is the way to go. I set out to research OpenSSH Key-Based Authentication and its configuration. Yes, I like to do my research before I dive into things. So I fired up my Ubuntu virtual machine and began to Google. After reviewing multiple tutorials and system documentation, I noticed the many inconsistencies across the internet. I found Ubuntu.com to be most helpful, however their documentation still did not suffice. So here is my tutorial on configuring OpenSSH Key-Based Authentication.