I've never set that up in Azure but some general rules of thumb for handling SSH keys:
- The private key in
$HOME/.ssh/
must have file mode 600 (RW only for the owner) - You need both, the public and the private key in this folder, usually named
id_rsa
andid_rsa.pub
but you can change the filename to whatever you like - You have to convert the private key generated by puttykeygen to a OpenSSH2 compatible format, see How to convert SSH keypairs generated using PuttyGen
known_hosts
stores the public keys of the servers you've already connected to. That's useful to make sure that you are really connecting to the same server again. more detailed information on this topic
HTH