December 2017
Intermediate to advanced
404 pages
9h 28m
English
In order to access EC2 instances created on AWS from a Linux or a macOS machine, we will need to use the SSH command.
The first step is to ensure that the connection private key—which we downloaded earlier when we created the EC2 instance—is secure and cannot be accessed by external parties. This is typically done by executing the following command on the terminal:
chmod 400 my-super-secret-key-pair.pem
my-super-secret-key-pair.pem is the name of the file that contains the private key. Obviously, if the filename is different, then you will need to ensure that the command will target the correct filename. For the preceding command to work, we will need to run it from the same folder as ...
Read now
Unlock full access