Added key pair connection support