def ssh_USERAUTH_SUCCESS(self, packet):
        """
        Handle user authentication success in the normal way, but also make a
        note of the state change on the L{_CommandTransport}.
        """
        self.transport._state = b'CHANNELLING'
        return SSHUserAuthClient.ssh_USERAUTH_SUCCESS(self, packet)

        Handle user authentication success in the normal way, but also make a
        note of the state change on the L{_CommandTransport}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/endpoints.py