keypair issues and identity file not accessible message
Hello,
In going through the getting started guide section 7.2, it says to use ssh -i and a keypair to to ssh into my newly launched instance. I've tried this but I am not having much luck. I created the keypair by running:
nova keypair-add --pub_key ~/.ssh/id_rsa.pub mykey
This seemed to work as the "nova keypair-list" output displays the mykey and its fingerprint.
Now, here is the result of running different ssh -i commands:
ssh -i mykey.priv 192.168.32.2
Warning: Identity file mykey.priv not accessible: No such file or directory.
(then prompted to provide password and I can successfully log in)
ssh -i mykey.pub 192.168.32.2
Warning: Identity file mykey.pub not accessible: No such file or directory.
(then prompted to provide password and I can successfully log in)
ssh 192.168.32.2
(prompted to provide password and I can successfully log in)
Am I missing something? The getting started guide does not have the command line info for creating the keypair so I used some other documentation to create the keypair.
Dave