summaryrefslogtreecommitdiff
path: root/termshare/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'termshare/README.md')
-rw-r--r--termshare/README.md32
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?