'Creates the object patching the actual connection.'

@patch('paramiko.SSHClient', Mock)
def setUp(self):

    conn_params = {'hostname': 'dummy.host.org', 'port': 8822, 'username': 'ubuntu', 'key': '~/.ssh/ubuntu_ssh', 'timeout': '600'}
    (_, self.tmp_file) = tempfile.mkstemp()
    os.environ['LIBCLOUD_DEBUG'] = self.tmp_file
    _init_once()
    self.ssh_cli = ParamikoSSHClient(**conn_params)
