Authentication module for connect using a private public key scheme