aws ec2 免费主机配置


1) 终端 ssh 连接
To access your instance:

  1. Open an SSH client. (find out how to connect using PuTTY)
  2. Locate your private key file (ec2key.pem). The wizard automatically detects the key you used to launch the instance.
  3. Your key must not be publicly viewable for SSH to work. Use this command if needed:
    chmod 400 ec2key.pem
  4. Connect to your instance using its Public IP:

ssh -i ec2key.pem ubuntu@

2)putty ssh 连接