def generate_user_key(self, bits=2048):
        key = self.get_user_key()

        if not key:
            key = paramiko.RSAKey.generate(bits)
            self._write_user_key(key)

        return key
Generates a new RSA keypair for the user running Review Board.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/ssh/client.py/SSHClient.generate_user_key