All right, on the last picture, I showed you guys how to create your digital ocean account, so if
you haven't done that, make sure you go to digital ocean dotcom and sign up or even better, use my
referral link.
Get 100 hours of free credit so that you'll be able to, you know, create a difficulty image.
You'll be able to use it and follow along with this question.
And even after this course is over, you'll still be able to use it.
All right.
So now that we've got this here, what do we do?
We need to access into this box, into this droplet.
Right.
So I've got an IP address.
I'll click copy what I'm going to do.
I'm going to I'm going to clear the screen and I'm going to echo this into a file called droplet dot
text so we can type that out.
And we can see we've got this IP here.
And now I can say S.H. Tech I Idrissa.
So I want to S.H. into the box using my private key and I want to access to this IP and six five to
do to two three eight.
Let's connect, that's right, because we didn't put the username, so we need to assess each in his
room.
Now you can see we are on our droplet.
This is our droplet.
This is not our our Windows box.
We are now aged into our droplet.
So in order to basically turn this into a Kleenex box, we need to first add the public, keep the Kelly
Ripa
told.
Do that real quick.
That is a good sign, it says, OK, so now we're going to update and we'll let this finish.
We'll come back once it's done.
Great.
So that's done.
Now we just need to add the official package resource list or Kelly Callisthenics.
So I'm going to update the sources that list by echoing in this text.
And we're going to run Cerutty on the command so we can see the result after we go into the final.
If we leave off the 08 part and we won't see the result of the command inside the file that we just
edited it, we'll just see the command itself.
So that's why we have the pseudo tea part.
And you can see this is what we added to the file.
Now we do have to update to update the table of contents that contains all the repos that we need to
pull down Kelly into this droplet.
So we'll let this run and we'll come back once it finishes.
All right.
So that part is good to go.
Let's install Kelly.
So this should be good.
Let's hit enter and let's install Kelly.
And this part is going to take a really long time.
So we're going to let this go and we'll come back once it finishes.
You can see here is trying to count how much time remains.
So I'll come back and I'll tell you how long it actually took.
By the way, this is still updating, but if you notice that the window freezes, just hit spacebar
and it'll update again to update actually still running in the background.
But sometimes Windows doesn't update the terminal as fluidly as you would if you were on an interactive
shell directly on the droplet.
All right.
So two hours later, we now can configure our keyboard layout.
Yes.
It actually took two hours to get to this point.
So I'm going to hit Tabac and press enter.
Should non-slip users be able to capture packets?
Sure.
I don't want my Mac address changing, so I'll keep it up.
No, we're not using kismet because there's no wireless card in a digital ocean droplet.
So I'm going to flip that to know and we'll just run SSL H from the identity to save on resources.
All right, we'll let this go and we'll come back once it finishes.
Yes, we want to restart services without asking.
All right, well, let this go and we'll come back once it finishes about 30 minutes later, he came
back with an SAHD configuration.
It's basically saying the file was modified and that's because they updated it.
We'll just keep the local version currently installed here.
OK, and let's round out this installation, resolved that deal with another file that's been updated.
So we're just going to keep the defaults by pressing entero and continue this setup.
All right.
So we finally made it to the partial finish line.
Now we just need to run a little update again.
You don't have to run Seeto actually since your route.
So you can just run and update Y and you might get to error messages.
Just go forward is the best you can.
So you see I've got this error message here.
I don't know what this means, but if it impedes our progress then we'll troubleshoot.
Otherwise we'll just continue to march forward and then we're going to do the full upgrade.
I'm just going to keep the defaults for everything.
So I'll just hit enter and we're not running Iasi so it doesn't matter.
So I'll just say yes to this to change the home directory.
So that's the only thing that's kind of unfortunate, this isn't an unattended installation like it
requires you to kind of interact with it.
It's kind of annoying, but I think it's good to interact with the process, at least for the first
time.
So you know how it works.
And then we'll just keep the default as asking about Grob and saying the version installed has been
locally modified.
We'll just keep a local version currently installed and we're almost done here.
We're 95 percent.
So hang in there, guys.
You know, we're keeping the default for everything.
So we're going to enter here even for the clock and think we're just going to default.
So it took a total of about three hours to get to this point.
But once you get here, it's really important that you don't disconnect because by default, SFH is
not listening.
So we need to change that.
What we can do in other words, if you disconnect here, you won't be able to connect the access age.
You'll have to go into your droplet, be the digital ocean portal.
Right.
So to avoid that hassle meter, enable access to the server.
Let me show you
what actually is really OK.
All right.
Let's just take a quick look at the configuration file,
and I'm going to search for a pub key.
OK, you want public here, the indication be set.
Yes.
So I he brings me into insert mode and I'm going to backspace this comment out so that we can authenticate
using our public key and then we will enable SNH to start about anywhere what we started and then we'll
check the status.
Nice.
Now, let's go ahead and set the multiuser target.
All right.
Now we can review what's paying our target.
Let's see the tax Dashti flag
paying Dashty so we know when it comes back and when we can try to SSA John.
It looks like it hasn't gone down yet.
It's once it goes down and it comes back up, we'll come back and we'll see if we can connect in control.
See let's see if we can SFH and again.
Now, that is a good sign.
Now, let me show you what to do.
If you couldn't SAHM, if you couldn't SSA and for some reason you could run as a Kijang with Tech R
and then the IP of your droplet.
If that doesn't work, you can run Keskin Weltech T RSA and then the IP of your droplet as you clear
out your nonhostile so you can log in again.
We don't have to do that because we're good to go.
So the first thing we need to do is hide this message.
We'll just follow the instructions and then we'll create our user account, set a password for this
user
and the user to the Cedarhurst group so we can run pseudo.
They didn't see if we can switch everybody
run that tetco man
we are Bonnie.
Let's see if we can zero into each other.
So now we know we are in the Ciro's group.
So now, of course, we want to be able to assess each and has this user zero of them needs to create
the file,
said Paiste.
There we go.
These.
All right, so we will make this directory
of them authorized keys, scap shifted.
All right.
So it looks like we kind of botched things up a little bit.
That's just my terminals acting kind of weird.
I don't really know where this file is.
So can we just find it?
We say authorized these types of file.
It's an error is to have no.
All right, so we should be able to look at this good.
There it is.
All right.
I don't know what was going on earlier.
Let's just confirm that we are running Kelly.
We are Kelly Rolling's.
Let's exit and try to assess Anthony.
And we're in not very cool, so in the next lecture, what we'll do is we'll set up our team environment.
All right, I'll see you guys in the next lecture.