ssh -i 使用指定的密钥连接。如:ssh -i ~/Download/ec2-default.pem ec2-user@10.10.10.1则会使用ec2-default.pem 作为私钥 去连接10.10.10.1
ssh的常用用法
原文:https://blog.51cto.com/luosea/2486932