Abort if user creates a session without any ssh key or if key is duplicate.