diff --git a/index.html b/index.html
index d4024c3..2eefef5 100644
--- a/index.html
+++ b/index.html
@@ -1,3 +1,4 @@
+
SSH Terminal
@@ -18,7 +19,7 @@
var socket = io(); //.connect();
socket.on("connect", function () {
- term.write("\r\n*** Connected to backend ***\r\n");
+ term.write("\r\n*** Connected ***\r\n");
});
// Browser -> Backend
@@ -32,7 +33,7 @@
});
socket.on("disconnect", function () {
- term.write("\r\n*** Disconnected from backend ***\r\n");
+ term.write("\r\n*** Disconnected ***\r\n");
});
},
false
diff --git a/server.js b/server.js
index 7533e58..e7ac022 100644
--- a/server.js
+++ b/server.js
@@ -19,6 +19,7 @@ try {
var sshConfig = {
host: config.ssh?.host ?? "host.docker.internal",
port: config.ssh?.port ?? 22,
+ term: config.ssh?.term ?? "xterm",
username: config.ssh?.username,
};