简体   繁体   中英

how to connect aws ec2 using Xshell 6

i have stuck at Xshell6 where i am trying to connect Aws EC2 Ubuntu instance. I have upload .pem key in User key Manager, prompt new session, putted Name, Hostname, Protocol as 22. In authentication, using public key as method, username as ec2-user and picking public key (.pem file)

Still it is asking passphrase . Can someone help how to connect Amazon EC2 instance by using passphrase ?

Username for AWS Ubuntu instance is ubuntu , you are using username as ec2-user which is for the Amazon Linux AMI.

So, put the user as ubuntu and you'll get logged in.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM