Connect to a Remote Server (AWS)

4 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€46.35
List Price:  €64.90
You save:  €18.54
£39.63
List Price:  £55.48
You save:  £15.85
CA$67.74
List Price:  CA$94.84
You save:  CA$27.10
A$76.73
List Price:  A$107.44
You save:  A$30.70
S$67.45
List Price:  S$94.44
You save:  S$26.98
HK$391.21
List Price:  HK$547.73
You save:  HK$156.51
CHF 45.07
List Price:  CHF 63.11
You save:  CHF 18.03
NOK kr542.47
List Price:  NOK kr759.51
You save:  NOK kr217.03
DKK kr345.91
List Price:  DKK kr484.31
You save:  DKK kr138.39
NZ$83.70
List Price:  NZ$117.18
You save:  NZ$33.48
د.إ183.57
List Price:  د.إ257.02
You save:  د.إ73.44
৳5,489.81
List Price:  ৳7,686.18
You save:  ৳2,196.36
₹4,167.10
List Price:  ₹5,834.28
You save:  ₹1,667.17
RM236.17
List Price:  RM330.66
You save:  RM94.49
₦69,759.04
List Price:  ₦97,668.24
You save:  ₦27,909.20
₨13,905.37
List Price:  ₨19,468.63
You save:  ₨5,563.26
฿1,818.97
List Price:  ฿2,546.70
You save:  ฿727.73
₺1,618.42
List Price:  ₺2,265.91
You save:  ₺647.49
B$250.74
List Price:  B$351.06
You save:  B$100.31
R944.24
List Price:  R1,322.01
You save:  R377.77
Лв90.37
List Price:  Лв126.52
You save:  Лв36.15
₩67,364.11
List Price:  ₩94,315.14
You save:  ₩26,951.03
₪183.83
List Price:  ₪257.38
You save:  ₪73.55
₱2,808.38
List Price:  ₱3,931.96
You save:  ₱1,123.58
¥7,565.46
List Price:  ¥10,592.26
You save:  ¥3,026.79
MX$829
List Price:  MX$1,160.67
You save:  MX$331.66
QR182.42
List Price:  QR255.40
You save:  QR72.98
P688.96
List Price:  P964.60
You save:  P275.64
KSh6,627.67
List Price:  KSh9,279.27
You save:  KSh2,651.60
E£2,371.83
List Price:  E£3,320.75
You save:  E£948.92
ብር2,843.36
List Price:  ብር3,980.93
You save:  ብር1,137.57
Kz41,712.75
List Price:  Kz58,401.19
You save:  Kz16,688.44
CLP$49,140.17
List Price:  CLP$68,800.17
You save:  CLP$19,660
CN¥361
List Price:  CN¥505.43
You save:  CN¥144.43
RD$2,961.97
List Price:  RD$4,147
You save:  RD$1,185.02
DA6,739.31
List Price:  DA9,435.57
You save:  DA2,696.26
FJ$112.82
List Price:  FJ$157.96
You save:  FJ$45.13
Q390.02
List Price:  Q546.07
You save:  Q156.04
GY$10,473.60
List Price:  GY$14,663.88
You save:  GY$4,190.28
ISK kr6,970.10
List Price:  ISK kr9,758.70
You save:  ISK kr2,788.60
DH506.82
List Price:  DH709.58
You save:  DH202.76
L882.10
List Price:  L1,235.01
You save:  L352.91
ден2,850.77
List Price:  ден3,991.30
You save:  ден1,140.53
MOP$403.10
List Price:  MOP$564.38
You save:  MOP$161.27
N$954.52
List Price:  N$1,336.41
You save:  N$381.88
C$1,840.91
List Price:  C$2,577.43
You save:  C$736.51
रु6,673.07
List Price:  रु9,342.84
You save:  रु2,669.76
S/186.02
List Price:  S/260.45
You save:  S/74.42
K191.42
List Price:  K268
You save:  K76.58
SAR187.55
List Price:  SAR262.59
You save:  SAR75.03
ZK1,240.49
List Price:  ZK1,736.79
You save:  ZK496.29
L230.44
List Price:  L322.64
You save:  L92.19
Kč1,173.14
List Price:  Kč1,642.49
You save:  Kč469.35
Ft18,264.34
List Price:  Ft25,571.54
You save:  Ft7,307.20
SEK kr534.47
List Price:  SEK kr748.30
You save:  SEK kr213.83
ARS$42,896.99
List Price:  ARS$60,059.22
You save:  ARS$17,162.22
Bs345.64
List Price:  Bs483.92
You save:  Bs138.28
COP$193,431.35
List Price:  COP$270,819.36
You save:  COP$77,388.01
₡25,157.81
List Price:  ₡35,222.95
You save:  ₡10,065.13
L1,234.74
List Price:  L1,728.74
You save:  L493.99
₲369,806.27
List Price:  ₲517,758.37
You save:  ₲147,952.10
$U1,877.89
List Price:  $U2,629.19
You save:  $U751.30
zł199.48
List Price:  zł279.29
You save:  zł79.80
Already have an account? Log In

Transcript

Okay, now the last of all is to connect to a remote server. So these are the commands that we are going to see in this video. Okay, so the command is SS edge. Now, the SSH refers to Secure Shell. So we are going to connect to the shell of a remote server. So we have to so so I'm going to show you how to connect to an AWS.

So, so this is an instance running on my AWS account. And I'm going to connect to this. So So here I have to click on this Connect button. And it is going to show me this. And this is the connection procedure that you will be shown with. So here, you will need your private key.

So while creating the instance, you will have to create or use an existing private key. So I have my private key with me. So, the first command is you have to run the CH mod on this private key. So, I'm going to copy this command, and I'm going to run it here. So, I have this private key here. So, I'm going to paste this command.

And next, we have to connect to our instance using this public DNS. So the SSH that We are going to use here is this whole SSH command. So I have copied it and I'm going to paste it here. Let me copy it again. Copy and Paste. So I have copied and paste this command here.

So this is the whole SSH command that you have to run. So in here we have written SSH then dash I option. And then this is our private key. And this is our DNS for the server. So enter. So as you can see that We have successfully connected to our server.

Now, let's go into the root directory. And let's LS. So this is its root directory. So we have successfully connected to our remote server of AWS. So now if you want to exit from this, then you just have to right exit, and you will be disconnected with the server. Now, if you want to connect to a server using any port number, then you can do that as well.

So you just have to specify the dash p option and then write the port number. So have written the port number 80. So now so as you can see, the server has refused the connection as the Port 80 is not being made open on this server. So this is how you can use to connect to a remote server using the SSH command.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.