def removeTree(ssh, folderPath):
    """ Removes a remote folder and all it content.
    Params:
        ssh: Ssh session.
        folderPath: Folder to delete.
    Returns: 
        Tuple with standard input, standard output and error output.
    """
    stdin, stdout, stderr = ssh.exec_command('rm -dfr ' + folderPath)
    ssh.close()
    return stdin, stdout, stderr
