Added support to use only ssh private key.

Added support to use ssh private keys directly, instead of making users to create a self-signed certificate with the ssh key.