linux - SSH Issue while logging into AWS EC2 instance -


we have launched new ec2 instance in our account. created public , private keys guided launcher process. still not able login ec2 instance. asking password.

i tried both ‘centos’ , ‘root’ user. please find verbose log of ssh connection using both users. happening on our first login attempt , since asking password not able login instance itself.

command:

ssh -v-i "nvkey.pem" centos@ec2-34-229-82-204.compute-1.amazonaws.com 

debug info above command:

debug2: key: nvkey.pem ((nil)), explicit

debug1: authentications can continue: password

debug3: start over, passed different list password

debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard->interactive,password

debug3: authmethod_lookup password

debug3: remaining preferred: ,gssapi-with-mic,publickey,keyboard->interactive,password

debug3: authmethod_is_enabled password

debug1: next authentication method: password

centos@ec2-34-229-82-204.compute-1.amazonaws.com's password:

_

what doing wrong?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -