Posted under » AWS on 11 May 2021
Here are some of my settings
You can autogenerate key or you can create one
ssh -i /path/my-key-pair.pem ubuntu@8.6.75.3
For Putty, you need to convert the pem to ppk. Make sure you enable SSH (default on) and HTTP and HTTPS connection.
$ apt-get install putty-tools $ puttygen pemKey.pem -o ppkKey.ppk -O private $ puttygen ppkkey.ppk -O private-openssh -o pemkey.pem
If you encounter the 'It is required that your private key files are NOT accessible by others' then chmod 400 your .pem file.
The security group is the one that enables or disable you from connecting. It is connected to the default VPC. You should create a new security group. I allow access via a single IP address.
This address might not be static if your computer is on a corporate network or if you are connecting through an internet service provider (ISP).
Instead, you should specify the range of IP addresses used by client computers.