WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:05.900
Hello, everyone.

1
00:00:07.200 --> 00:00:10.200
So in this video we are going to see the next port and

2
00:00:10.200 --> 00:00:12.400
 protocol. That is SSH.

3
00:00:13.500 --> 00:00:16.100
so SSH stands for

4
00:00:16.100 --> 00:00:17.700
 secure shell

5
00:00:18.700 --> 00:00:20.600
it has the port number 22.

6
00:00:22.500 --> 00:00:26.000
The usage of SSH protocol is to

7
00:00:25.400 --> 00:00:28.900
 provide secure and encrypted

8
00:00:28.900 --> 00:00:31.300
 communication between a client and a

9
00:00:31.300 --> 00:00:31.800
 server.

10
00:00:33.300 --> 00:00:36.500
SSH is mainly used to do a

11
00:00:36.500 --> 00:00:39.700
 remote login to any client or any server.

12
00:00:43.300 --> 00:00:47.100
So, let's see the Practical of how we can use SSH.

13
00:00:48.700 --> 00:00:51.200
to perform a remote login into any

14
00:00:51.200 --> 00:00:51.600
 computer

15
00:00:56.100 --> 00:00:59.500
So to start with SSH you have to open up your terminal and

16
00:00:59.500 --> 00:01:00.800
 you have to type SSH.

17
00:01:01.800 --> 00:01:05.000
And then space whatever username you

18
00:01:04.200 --> 00:01:05.700
 want to log in.

19
00:01:06.700 --> 00:01:09.700
Into the remote computer. So let's say there

20
00:01:09.700 --> 00:01:12.400
 is a user that is admin that is

21
00:01:12.400 --> 00:01:15.700
 being installed or added into the remote computer.

22
00:01:17.400 --> 00:01:20.500
Then you have to type at the rate the IP address of

23
00:01:20.500 --> 00:01:21.600
 the remote server.

24
00:01:23.500 --> 00:01:28.600
So I have given the IP address 192 168 43.213.

25
00:01:29.100 --> 00:01:32.000
And then you can specify the default port.

26
00:01:33.700 --> 00:01:36.500
You do not need to specify the default Port

27
00:01:36.500 --> 00:01:39.600
 if the remote server is working on 22

28
00:01:39.600 --> 00:01:42.500
 itself. If it is working on any other

29
00:01:42.500 --> 00:01:45.100
 different port than 22 then you

30
00:01:45.100 --> 00:01:47.100
 can specify using hyphen p

31
00:01:51.200 --> 00:01:54.200
After you hit enter you can see are you sure

32
00:01:54.200 --> 00:01:57.100
 you want to continue connecting? You just have to type. Yes.

33
00:01:58.400 --> 00:02:01.400
To make the decision as yes, and then it will ask you

34
00:02:01.400 --> 00:02:02.300
 for a password.

35
00:02:03.400 --> 00:02:06.300
To connect to the SSH server. So after you give

36
00:02:06.300 --> 00:02:09.900
 the right password you can see you are connected to

37
00:02:09.900 --> 00:02:12.300
 the remote server. That is parrot security.

38
00:02:15.900 --> 00:02:18.600
Now I will do a LS to see what

39
00:02:18.600 --> 00:02:21.100
 are the files listed over there so I can

40
00:02:21.100 --> 00:02:23.700
 see there are many files and folders.

41
00:02:24.500 --> 00:02:27.500
So I will just try to navigate to one of the folder that

42
00:02:27.500 --> 00:02:29.000
 is you want.

43
00:02:30.200 --> 00:02:33.400
After going into this uon folder I can see there is

44
00:02:33.400 --> 00:02:36.500
 a file glad you reached here. So I'm

45
00:02:36.500 --> 00:02:39.400
 just trying to read this file using the cat command.

46
00:02:42.100 --> 00:02:43.800
So you can see after doing cat.

47
00:02:45.400 --> 00:02:48.800
To read the file it is saying to go here slash root slash

48
00:02:48.800 --> 00:02:51.800
 Pro. So let me just navigate to this

49
00:02:51.800 --> 00:02:54.900
 directory using the CD command CD stands

50
00:02:54.900 --> 00:02:56.200
 for change directory.

51
00:02:57.200 --> 00:02:59.800
So change directory to slash Roots slash Pro.

52
00:03:00.700 --> 00:03:03.300
After going here, let's do a LS as

53
00:03:03.300 --> 00:03:05.000
 you can see there are three more files.

54
00:03:06.300 --> 00:03:08.100
and folders, so let me just go to the

55
00:03:09.100 --> 00:03:10.000
flag folder

56
00:03:11.600 --> 00:03:14.300
After going inside, let me do a LS to list. What

57
00:03:14.300 --> 00:03:17.200
 is there inside as you can see there is a file called as

58
00:03:17.200 --> 00:03:20.500
 flag dot txt. So I'm just going to read this

59
00:03:20.500 --> 00:03:22.200
 file using the cat command.

60
00:03:22.800 --> 00:03:25.600
And you can see here. You want Mr. Pro hacker, so

61
00:03:25.600 --> 00:03:26.900
 we have successfully completed.

62
00:03:28.600 --> 00:03:31.600
Our SSH that how you can remote login into

63
00:03:31.600 --> 00:03:35.300
 any server and you can navigate inside

64
00:03:34.300 --> 00:03:37.200
 the server and read for files and

65
00:03:37.200 --> 00:03:37.700
 folders.

66
00:03:38.500 --> 00:03:40.200
I hope you understood. Thank you.
