Validate the SSH public key file before attempting to add it.
Merge pull request #174 from pjcdawkins/validate-ssh-key

Validate the SSH public key file