There are a few tools that work like this including sshuttle - transferring a local copy of the tool to the remote end.
Mosh also kind of works like this but can’t recall if you technically need the software already installed at the other end. Sshuttle definitely doesn’t.
Mosh also kind of works like this but can’t recall if you technically need the software already installed at the other end. Sshuttle definitely doesn’t.