Lecturer: In this video,
we will learn how we could access our Linux system.
All right, so there are two type of access
or two different ways
that you could access your operating system.
One is through the console
and the second one is through remote.
So the console access is like a direct access
to an operating system
when it is connected through VGA cable, HDMI, DVI,
or any other console or display cable.
So you have your computer right in front of you,
you connect a monitor,
and then you run the cable
from the monitor to your computer,
which has an operating system,
and that's how you access that operating system.
That type of access is called console access.
So if you are using Windows operating system,
then your console will look like this.
If you're using Mac operating system, then your console,
when you're connected and you're looking at the monitor,
that's how it's gonna look like.
Now, if you are using Linux,
which we have installed and configured,
then accessing Linux is gonna look like this.
Now, of course, we are using that as a virtual machine.
So virtual machine provides its own console access.
So if you had installed Linux on a physical machine,
then you would have accessed it the same way
by connecting the cable to the monitor,
and then you will go to the console.
All right, so that's a very basic
as usual way of accessing your Linux system.
Now, let's talk about the remote access.
Now, please note most of the time
that when you're gonna be working in corporate environment,
you will be accessing your Linux system remotely.
So the second type of access is remote access,
which allows you to connect
to your operating system remotely over the network.
So if you want to connect a Windows machine remotely
from another Windows machine,
then the machine that you are trying to connect to,
you gotta have its IP address.
Once you find the IP address,
you input the IP address of your destination machine
and then simply connect.
Then it allows you to connect
to that other vendor's machine.
That's how you connect Windows machine remotely.
Now, what about the macOS?
macOS similarly has the same type of software
where you allow sharing and connect the macOS remotely.
Now, let's talk about the Linux,
which is our main focus here.
How do we connect Linux remotely?
So first thing is if you are connecting
to your Linux machine from a Windows machine,
then your Windows machine has to have a client called PuTTY,
P-U-T-T-Y, which you have to download and install.
Once you have that downloaded and installed,
then you get an IP address of your Linux machine.
You enter the IP address right here in this field,
and then you load and open,
and then it will allow you to connect
to your Linux machine remotely through the command line.
Yes, remember that.
You won't be able to see the GUI, the console.
You will be able to connect as a command line.
Now, here is something important I wanted to tell you.
If you are using Windows 10 or newer version,
then you do not need to install the PuTTY client
on your Windows machine.
So the Windows newer operating systems
already has SSH built-in client.
All you have to do is go to your command prompt
and simply type SSH,
and you will see all the options that it gives you.
So if you know the IP address of your Linux machine,
all you have to do is type it in SSH + Space +
followed by the IP address of your Linux machine
that you're trying to connect to,
and you will be able to connect without having
to download and install PuTTY client.
Similarly, if you are using a Mac
and you want to connect to your Linux machine remotely,
then you do not,
I repeat, you do not need this PuTTY client.
All you need is simply open up your command line
and type SSH + Space + the IP address of your Linux machine.
Also, I put it down here,
if you already have a Linux machine
and you're trying to connect
to your another Linux machine remotely,
you would do the same thing.
You open up a command prompt,
type SSH + Space + the IP address of the Linux machine
that you're trying to connect to.