SSH Into a Vagrant Box

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
2 hours 51 minutes
Difficulty
Beginner
CEU/CPE
3
Video Transcription
00:00
Hello. My name is Jasmine Jackson. And in this video I will show you a demo on how to use secure shell to gain access to our vagrant machine. So let's get started.
00:14
The learning objectives for this video are learning how to connect to our vagrant machine using Ssh. So let's start with the demo.
00:24
Looking at our virtual ization software again, I'm using for 12 box You will see that are vagrant machine is running
00:34
and remember the command to start. Our vagrant machine is favorite up
00:40
So now that our machine is running, I'm going to enter the command vagrant
00:45
Ssh!
00:55
And as you can see, we're now in our vagrant machine And the way we can tell this is because on the command line, we see vagrant at vagrant because remember, the user name and password are both vagrant. And we see our vagrant machine name bamboo to trustee 64.
01:14
So now we are in our vagrant machine. And as I said in our lecture with Secure Shell,
01:21
if you are one of the people that are command line gurus are command line images.
01:30
Secure shell will be perfect for you because as you can see, You can do everything on the command line and you would not
01:38
have to interact with the gooey or in this case, are virtualized ation software of virtual box. And remember gooey stands for graphical user interface.
01:49
So, as you can see here, after entering the command vagrant ssh! We are in our vagrant machine and the command prompt. As you can see, it's pretty simple to gain
02:01
to create a secure show. All we had to do which is entered the command vagrant. Ssh! So let's go back to our lecture. So in summary in this video, we learn how to connect
02:16
to our vagrant machine using secure show with a quick demo. And again, the command to create a secure show with vagrant is vagrant. Ssh! And in our next video,
02:32
we will have another demo of showing now that we have a secure show
02:38
how to actually install software on our vagrant machine. And the software we're going to install is an Apache. Http server so I can't wait to see you in that lecture. You have a good day. Bye.
Up Next