title: Can't SSH after creating an Instance from Command line
body: <p>I am creating an instance from command line using command</p>
  
  <pre><code>nova boot --no-service-net --no-public --disk-config AUTO --config-drive=true --flavor 2 --key-name key1 --image c28bc1e8-a25f-413c-9e13-fecdd5d6f522 test
  </code></pre>
  
  <p>when instance launched successfully I tried to ssh instance by using this command</p>
  
  <pre><code>ssh -i key1.key fedora@10.0.0.10
  </code></pre>
  
  <p>but it gives me an permission error,</p>
  
  <blockquote>
    <p>Permission denied (publickey,gssapi-keyex,gssapi-with-mic)</p>
  </blockquote>
  
  <p>And when I create an instance from Dashboard/Horizon. I can ssh without any problem or issue with the same command <code>ssh -i key2.key fedora@10.0.0.12</code> </p>
  
  <p>Guide me what is the problem why I can't ssh after creating an instance from command line.</p>