Hey, folks.
Now that we have downloaded and install our putty software on Windows, now let's go ahead and use our
putty software to connect to our Linux machine.
So what we exactly doing?
We're going to open up our putty software on our Windows Machine and we're going to connect it to our
Linux machine.
Now, of course, in order to connect, what do I need?
I need the IP address of this Linux machine so I could plug it in here.
Now, how do I get the IP address?
Very good question.
In order to get an IP address, you have to run a command on the command line and the command is if
config.
Now, before we go any further, an important message.
The newer version of Santos might not have the command if config.
Therefore we will use IP address command.
If you wanted to use if config in 7.5 or later version of Santos or rel, then you could install the
tools while running the Yum install net dash tool commands as root.
But anyway, let's not get yourself confused or ahead of yourself.
So let's first go into our Linux machine through the console.
So in order to get to the console, we'll go first to our Oracle VirtualBox manager right here and look
for the machine that we have created, installed Santos, which was right here.
I have already started it up.
Okay, so it's up and running.
Let's minimize it and let's go to our machine.
Here is my machine.
When you log into the console, you'll see all the gooey.
Now on the version seven with the gooey, you will right click on the desktop and open terminal.
Same thing with version eight as well, but if you're using version nine, then you could go to the
application on the side and look for the terminal.
All right.
Anyway, you could maximize this terminal, minimize this terminal to your requirement.
All right.
So right here, you have a terminal, the blinking cursor right here.
In order to get the IP address of this Linux machine, you run the command if config and hit enter.
So in my case, the config command worked.
So I don't have to run the IP space, a DDR command.
You could run that command again if you as well if you want IP, DDR, which will give you the same
information which gives you all the interfaces that you have anyway.
Let's not get ahead of ourself again.
Let's try if config command again and it will output on the screen right here when you run it.
Here is your first interface MP zero SE three Here's your local interface.
You could ignore this one.
The third one is your virtual adapter interface.
You could ignore this one as well.
Our focus is at this interface.
ENP zero SE three The IP address that we're looking for is right here 10 to 53 1.22 In your case, the
IP address might be different.
You might see ten sorry, one 9 to 160 81. X or whatever the IP, but it depends on which which router
or which ISP network router that you're using.
My router is linksys, so my IP starts with ten.
Anyway, once you have that IP, then you open up your terminal.
Sorry.
Get out of here.
And go to your windows and type putty.
Right here.
And this will open up your putty.
And right here in the party, I want you to type it in the IP address of the machine of your Linux machine
that we just picked here.
Okay.
Ten two 53.1 22.
And simply click open.
Here, you will get the message.
The host key is not cash for this server.
You have no guarantee that servers is the computer you think it is.
That's fine.
You could just click accept.
It's just a warning sign.
Now here you have a log in.
Now log in is the same login, username and password that you need to log in that you would use log
in here.
So if you could log in as your own self, which is I have solve for me and the password that I created
during the installation.
Bingo.
Here you go.
I am logged in, and this is the command line of this Linux machine.
This Linux machine is the gooey axis.
This Linux machine is the command line access, but both of them are the same.
So that's what we wanted to do is to connect to a Linux machine through the putty.