# HG changeset patch # User Steve Losh # Date 1699455852 18000 # Node ID e425d22104047b5e33fa3a49ccb6352274228eb4 # Parent 6b65a9dcc92eb9f3e2ddbaea0dfe7ac2d16f100b# Parent 8c2e534a1cb5bc17db57fd65234af12523d66336 Merge diff -r 6b65a9dcc92e -r e425d2210404 README.markdown --- a/README.markdown Wed Nov 08 10:03:31 2023 -0500 +++ b/README.markdown Wed Nov 08 10:04:12 2023 -0500 @@ -798,6 +798,26 @@ BI500. Talked about visualization and Adobe Illustrator. +PIBS800. "House" meeting, talked about various stuff. + +Figured out how to jank together SSH tunneling between my server and my Pine SBC +to expose a server running on the Pine to the internet. Basically need to do +two legs of SSH tunneling for this: + + ssh -NTR '*:12345:localhost:8888' sl + ssh -NTL '8888:localhost:80' pine + +The first line makes anything connecting to port `12345` on the remote machine +actually connect to what my intermediate machines sees as `localhost:8888`. +Unfortunately that `localhost` hostname is indeed a hostname, and I can't use an +SSH server name there to automagically jump around that way. So anything +hitting `12345` on the server will now hit `8888` on my intermediate machine. +Then we use the second tunnel to forward *that* to whatever `pine` thinks +`localhost:80` is. Also note you need to enable `GatewayPorts` on the remote +server and restart `sshd` for this to ever work at all. + +Read a bit for 503. Need to do a bunch more. + Backpacked classes for next semester. Can't register yet, but I think that's because registration doesn't open until Nov 13?