Great you have successfully installed the Raspberry Pi OS.
You have configured the Wi-Fi and you know the IP address of the Raspberry Pi in the network.
What we can do now is to use SSH to take control over the Pi and really get access to it.
This will provide you with command line access in a terminal, which we will use just in the next lesson
to install VNC and get access to the Raspberry Pi desktop.
And don't worry too much about understanding command lines and how a terminal works here.
We will come back to it in a future section of this course.
For now, this is just a required step of the configuration, so please follow every instruction one
by one.
And the first thing we are going to do just to make sure that we don't have an error later on you can
open a file manager.
So let's open a file manager on your computer and just browse to this PC.
And then you basically want to go in there and go to users and just find your user okay.
So just go to basically what we can call the home directory in Linux or in Mac OS.
It's going to be where you place the folder where you have your user.
And in this you will find a folder named dot ssh.
If you don't see this one, maybe it's probably because it's hidden somewhere.
So you can click on view and show show hidden items.
Okay something like that.
So if you find dot ssh folder in the directory for your main user, you go in there and you have a file
named Knownhosts.
I also have that one too.
And I'm just going to remove those.
Okay.
So you just remove those files and that's it.
If you really can't find this folder I guess it's okay if you don't have an error later on.
That's fine.
This is kind of a preventive step.
Okay.
So now we can close this and we will need to open a terminal.
So how to open a terminal on windows.
Just go to the search bar or press the windows key and type something like cmd okay command prompt.
You can open that okay I guess on macOS is going to be similar.
and well, if you are using Linux, you probably know how to open a terminal already.
So just open a terminal and the command is going to be the same for windows, macOS and Linux.
Okay, we are going to use the SSH command.
So if you press SSH and enter you should have this kind of message okay.
Usage ssh.
That means that the SSH command exists.
In some older versions of windows you might not have SSH.
In this case you can use some putting on the screen.
Here you can use a software called putty okay.
You can download it install it and just provide the IP address, the username and the password to connect
to SSH.
But I guess that for most of you watching this video, you should be able to have the SSH command installed
on your computer.
So now what do we need to do?
Well we will write SSH and space.
And then you need to put which user will you want to connect as on the Raspberry Pi.
And if you remember we have created a user with the name Pi okay.
So if you have used a different name change it here.
But if you just follow the video exactly as I did, you should have the user pi.
Then you put the At and we will need to put the IP address of the Raspberry Pi.
So what's the IP address?
This is the one we have found right here.
So for me it's 192 dot 168 .203. 222.
So don't just copy this.
Of course your IP address is going to be different.
Now I can press enter and if everything worked well you should see a message like this okay the authenticity
of host etc. etc..
Basically the question is are you sure you want to continue?
Yes or no?
And you just put yes and you press enter.
And now it should ask you for the password of the pi user.
Okay.
If you didn't get that, if you got an error with this known host thingy, then you need to go back
and remove this known host file like I just showed you in the beginning of the video.
But if you see the password like this, all fine.
You just put the password that you have provided during the setup.
So when you flashed the operating system and here you can see when I type something it doesn't show.
So you just type the password and you press enter.
If you provided the correct password.
Now you can see that we are actually inside the Raspberry Pi okay.
It's not this anymore.
So we are not operating from windows.
Now you can see we have Pi at Raspberry Pi and we have a command line from inside the Raspberry Pi.
And well, if you have an error with the password, it is simply because this is the wrong password.
Okay.
If you manage to get the and the password doesn't work, make sure you don't have a typo.
Also, make sure that maybe your keyboard is configured the same and you type exactly the same thing
that you typed when you set up the Raspberry Pi.
And maybe you made a mistake, and maybe you need to flash the operating system again if you provided
a wrong password.
Okay.
And now great, we are on the Raspberry Pi.
So we have internal access to the Raspberry Pi.
The next thing we can do is to set up VNC so we can have access to the desktop.