### Summary

Deprecate the [smart](https://github.com/ansible/ansible/blob/f4b2d4d4bb70d688d437ca79962d8d651b6e731c/lib/ansible/utils/ssh_functions.py#L54-L66) connection feature so that it can be removed in ansible-core 2.18.

### Issue Type

Feature Idea

### Component Name

ansible
try:
        
        return _HAS_CONTROLPERSIST[ssh_executable]
    except KeyError:
        pass
    b_ssh_exec = to_bytes(ssh_executable, errors='surrogate_or_strict')
    has_cp = True
    try:
        cmd = subprocess.Popen([b_ssh_exec, '-o', 'ControlPersist'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
        (out, err) = cmd.communicate()
        if b"Bad configuration option" in err or b"Usage:" in err:
            has_cp = False
    except OSError:
        has_cp = False
    _HAS_CONTROLPERSIST[ssh_executable] = has_cp
    return has_cp
def set_default_transport():
    
    if C.DEFAULT_TRANSPORT == 'smart':
        
        
        
        if not check_for_controlpersist('ssh') and paramiko is not None:
            C.DEFAULT_TRANSPORT = "paramiko"
        else:
            C.DEFAULT_TRANSPORT = "ssh"