WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.600 --> 00:00:07.900
So welcome back to this video. So

1
00:00:07.900 --> 00:00:10.900
 as we have seen how to perform SSH

2
00:00:10.900 --> 00:00:13.500
 on a specific port in our local

3
00:00:13.500 --> 00:00:17.300
 machine that we did on to the Paratus. Now

4
00:00:16.300 --> 00:00:19.300
 we are going to do the similar

5
00:00:19.300 --> 00:00:22.900
 thing onto a live server. Now, this is

6
00:00:22.900 --> 00:00:25.200
 the manage SSH portal of

7
00:00:25.200 --> 00:00:28.700
 my website, which is hacktify.in. And now I'm

8
00:00:28.700 --> 00:00:31.600
 going to perform a SSH to the

9
00:00:31.600 --> 00:00:33.200
 host which is hackedify.

10
00:00:33.700 --> 00:00:36.500
All right. So here you can see the excess details

11
00:00:36.500 --> 00:00:39.700
 which gives a server IP the username and

12
00:00:39.700 --> 00:00:42.700
 the SSH Port now. One thing

13
00:00:42.700 --> 00:00:45.300
 that you should notice over here is I have

14
00:00:45.300 --> 00:00:48.300
 changed the default Port so the default

15
00:00:48.300 --> 00:00:51.500
 Port is not 22 anymore. But it is

16
00:00:51.500 --> 00:00:55.200
 2 1 0 9 8 this is specifically for

17
00:00:54.200 --> 00:00:57.600
 those people or random Bots

18
00:00:57.600 --> 00:01:00.900
 who try to brute force on port number 22.

19
00:01:01.700 --> 00:01:04.300
All right. So let's quickly connect to this

20
00:01:04.300 --> 00:01:07.800
 server IP. So I have copied the IP and

21
00:01:07.800 --> 00:01:10.400
 let me just clear the screen for you. First

22
00:01:10.400 --> 00:01:13.300
 and SSH is the command and we

23
00:01:13.300 --> 00:01:16.700
 know if we want to perform SSH connection

24
00:01:16.700 --> 00:01:19.900
 we can use that with the

25
00:01:19.900 --> 00:01:22.300
 help of the username. So I'm going

26
00:01:22.300 --> 00:01:25.100
 to connect with the help of my username which is

27
00:01:25.100 --> 00:01:28.400
 this and the IP address now when I

28
00:01:28.400 --> 00:01:31.400
 hit enter it is going to take some time

29
00:01:31.400 --> 00:01:35.000
 and it is going to give a error because by

30
00:01:34.500 --> 00:01:37.500
 default SSH is trying on

31
00:01:37.500 --> 00:01:38.900
 port number 22.

32
00:01:39.600 --> 00:01:43.000
But as we have seen the SSH

33
00:01:42.200 --> 00:01:45.200
 that is running onto the remote host that

34
00:01:45.200 --> 00:01:48.800
 is hackedified dot in is not on 22, but

35
00:01:48.800 --> 00:01:51.900
 it is on 21098. So I'll

36
00:01:51.900 --> 00:01:54.300
 just cancel this and again, I'm going

37
00:01:54.300 --> 00:01:57.500
 to specify the port number this time

38
00:01:57.500 --> 00:02:00.400
 and try again. So it's 2 1 0 9

39
00:02:00.400 --> 00:02:00.800
 8

40
00:02:02.900 --> 00:02:03.700
and hit enter

41
00:02:04.400 --> 00:02:08.300
and let's wait this time and you can see it asked

42
00:02:07.300 --> 00:02:10.700
 me a prompt of entering a

43
00:02:10.700 --> 00:02:14.100
 password. So let me just quickly enter the

44
00:02:14.100 --> 00:02:15.400
 password for SSH.

45
00:02:16.200 --> 00:02:19.000
And you can see I have successfully logged in

46
00:02:19.400 --> 00:02:20.000
 into the machine.

47
00:02:21.100 --> 00:02:25.000
Alright, so let me just do LS and you can see these are

48
00:02:24.200 --> 00:02:27.500
 all the directories that are hosted onto

49
00:02:27.500 --> 00:02:30.600
 the server now. I can modify things here as

50
00:02:30.600 --> 00:02:33.800
 I want. I can upload download files Etc

51
00:02:33.800 --> 00:02:36.600
 onto the hectified.in server. So

52
00:02:36.600 --> 00:02:39.800
 I hope you guys understood this how you can perform SSH

53
00:02:39.800 --> 00:02:42.400
 on local and remote servers. It is

54
00:02:42.400 --> 00:02:45.700
 exactly the same process, but in this specific video, I

55
00:02:45.700 --> 00:02:49.100
 wanted to show that yes, this admins use

56
00:02:48.100 --> 00:02:51.300
 different port numbers on live production

57
00:02:51.300 --> 00:02:55.300
 servers this way, and this is the in which

58
00:02:55.300 --> 00:02:58.800
 you can connect SSH to those portals. I

59
00:02:58.800 --> 00:03:00.400
 hope you guys understood. Thank you.
