Set the config path to the new config file
The file config_aws2 is like below
Host 18.abc.xyz
HostName 18.abc.xyz
User ec2_user
IdentityFile C:/Users/dcnha/Desktop/nha/dance_motion/aws/AIkey.pem
set the permission of the .pem
file only for your current user (Windows, https://youtu.be/kzLRxVgos2M), using chmod for Linux
When this dialogue show up, do not click the 18.abc
, instead type in [email protected]