Generate the keys on the fly and send all the connection info at once.