def check_ssh_passwd_need(host):
    """
    Check whether access to host need password
    """
    ssh_options = "-o StrictHostKeyChecking=no -o EscapeChar=none -o ConnectTimeout=15"
    ssh_cmd = "ssh {} -T -o Batchmode=yes {} true".format(ssh_options, host)
    rc, _, _ = get_stdout_stderr(ssh_cmd)
    return rc != 0