How to SSH to a Linux server
Ugonna
Posted on July 16, 2024
To SSH into a Linux server means to connect to a Linux server.
The following below are outlined steps in connecting VM to a Linux server
open the power shell of your computer
type in the powershell: ssh username@hostname_or_ip address which is ssh azureuserugo@4.231.173.106 and then press enter
Next step is a asking are you sure you want to continue yes/no. type in yes
next is to enter your password
to run an administrative task one has to be on root
To be on root, type and enter sudo su
below is the root
To update the system type in apt update
In order to install a web server nginx, type in apt install nginx and enter
after the installation it would ask: Do you want to continue y/n. type in y
update successful
to verify if apt has successful installed on the web server is by copying the ip address of WednesdayVM (4.231.173.106) and pasting on the browser
Posted on July 16, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.