Security: when '--keys' is specified, go read the public key to exchange with the server.