euca-describle-keypairsto see the password first. If there is no password "aa", then use the following command.
euca-add-keypair aa > my.privateelse delete password "aa" first or use another password.
euca-delete-keypair aayou should change my.private file access privilege, like:
chmod 0600 my.privatethen use euca-run-instance to run:
euca-run-instance -k aa -n 1 $emithen I have seen ip of instance. use ssh to login:
ssh -i my.private root@ipdone!
If you do not change my.private file access privilege, then it will report:
privilege 0644 is too open.If you chmod after the report, ssh will not let you login. So change it before you want access your instance.