diff options
author | Cody Hiar <cody@hiar.ca> | 2022-03-05 12:53:15 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2022-03-05 12:53:15 -0700 |
commit | 90e2e053d25feabd2dcf384dfc262a8bcdbe3ab8 (patch) | |
tree | 8e2799822b4de29014b86ca708123c1dfc8f45f5 /termshare/README.md |
Diffstat (limited to 'termshare/README.md')
-rw-r--r-- | termshare/README.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/termshare/README.md b/termshare/README.md new file mode 100644 index 0000000..9d62c0a --- /dev/null +++ b/termshare/README.md @@ -0,0 +1,32 @@ +# Server + +Simple server works and can give us a bash session + +# Remote forward + +```bash +# Server +python -m http.server 8001 +./termshare +# Attempt to bind to localhost 8000 granted + +# Client +ssh -R 8000:localhost:8001 root@127.0.0.1 -p 2222 +curl 127.0.0.1:8000 +# See the python listing + + +# Build +go build +``` + +# Todo: + +- Build a very small client that can connect to the host + + +# Fixed: + +- Importing the function from the internal library is not working + * exported names need to start with a Captial +- How to pass arguments to command function? |