[AWS]/Highly Available, Scalable, AWS Stack

4. Prerequisites: Launch an EC2 instance

SAMSUNG & IT TIMES FOREVER 2022. 1. 17. 12:30
반응형

 

# copy private key from downloads folder to working directory
cp Downloads/your-private-key.pem .

# secure private key
chmod 400 your-private-key.pem

# remove private key from Downloads folder
rm Downloads/your-private-key.pem

# SSH into server
ssh -i your-private-key.pem ubuntu@ec2-public-ip

 

 

 

Connect to your Linux instance from Windows using PuTTY

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

 

Connect to your Linux instance from Windows using PuTTY - Amazon Elastic Compute Cloud

A passphrase on a private key is an extra layer of protection. Even if your private key is discovered, it can't be used without the passphrase. The downside to using a passphrase is that it makes automation harder because human intervention is needed to lo

docs.aws.amazon.com

 

 

반응형