Comment by megous
2 days ago
You don't need websockets, just Connection: Upgrade to anything you want. You can upgrade directly to ssh protocol and just pass on decrypted data from https socket to local port 22 from then on with no further processing.
Proper DPI can tell that wouldn't be acting like a typical HTTP stream, encrypted or not.