From af74551381ae5697197d99cfbc51f66af2fa816c Mon Sep 17 00:00:00 2001 From: heckeralt Date: Fri, 20 Sep 2024 15:26:05 -0400 Subject: [PATCH] Add start-linux.js --- start-linux.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 start-linux.js diff --git a/start-linux.js b/start-linux.js new file mode 100644 index 0000000..59e8b96 --- /dev/null +++ b/start-linux.js @@ -0,0 +1,7 @@ +const http = require('http'); +const child = require("child_process"); +//create a server object: +http.createServer(function (req, res) { + res.write('SSH working at IP: this.is.a.test'); //write a response to the client + res.end(); //end the response +}).listen(8080); //the server object listens on port 8080 \ No newline at end of file