V-Server as my first Project at the Developer Akademie
In this project, a secured virtual server was set up with SSH key authentication, and the NGINX web server was installed to display a customized HTML start page. Additionally, Git was configured and connected to GitHub via SSH for secure repository management.
- Ready to use VM
- Git SSH connection
- Clone the repository:
git clone git@github.com:jpolkehn/v-server-setup.git
cd v-server-setup- Login to your machine
ssh <your_username>@<your_ip>- Update & install Nginx
sudo apt update && sudo apt install -y nginx- Generate a ssh key pair
ssh-keygen -t ed22519- SSH alias
alias <aliasName>="ssh -i ~/.ssh/<your_key> <username>@<your_ip>"- Disable password Login
sudo nano /etc/ssh/ssh_config- Create html document for Webserver
sudo touch /var/www/alternatives/alternate-index.html- Create directory
mkdir /var/www/alternatives