Change how sshkey is generated and collected