Add start-linux.js

This commit is contained in:
heckeralt 2024-09-20 15:26:05 -04:00
commit af74551381
1 changed files with 7 additions and 0 deletions

7
start-linux.js Normal file
View File

@ -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