Added ssh authentication and throw an exception if attempting to login not over
a secure connection
Check ssl when in production mode only
Merge pull request #2 from FelixOnline/ssh_authentication

Added ssh authentication