DEV Community

Cover image for How to SSH to a Linux server
Ugonna
Ugonna

Posted on

How to SSH to a Linux server

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
Image description
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
Image description
next is to enter your password
Image description
to run an administrative task one has to be on root
To be on root, type and enter sudo su
Image description
below is the root
Image description
To update the system type in apt update
Image description
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
Image description
update successfulImage description
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
Image description

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay