Added private/public key authentification.