From 28a5c814f863ef0bc1eaf704c8e0647596b22258 Mon Sep 17 00:00:00 2001 From: GeronimoGc Date: Fri, 20 Nov 2026 11:32:34 -0500 Subject: [PATCH] feat: direct root terminal without login, configure vsftpd on port 21 with ftpuser and test credentials --- public/index.html | 102 +++---------- public/js/app.js | 38 ++--- src/controllers/terminal.controller.js | 15 +- src/services/ftp.service.js | 15 +- src/services/terminal.service.js | 197 ++----------------------- test/integration/new-endpoints.test.js | 47 +----- test/unit/terminal-service.test.js | 78 ++-------- 7 files changed, 88 insertions(+), 404 deletions(-) diff --git a/public/index.html b/public/index.html index e9d79e9..8eae0da 100644 --- a/public/index.html +++ b/public/index.html @@ -421,18 +421,30 @@
- Puerto SFTP (Primario VPS) + Puerto FTP (vsFTPd Activo)
- 5101 - (Estándar: 22 · FTP: 21) + 21 + (Pasivo: 40000:40100 · SFTP DonWeb: 5101)
- Usuario del Sistema + Usuario FTP
- ftp - (Grupo: www-data) + ftpuser + +
+
+ +
+ Contraseña FTP +
+ FtpA2host2026! +
@@ -444,9 +456,9 @@
- Permisos de Acceso + Estado del Servidor
- Acceso Web Óptimo + 🟢 vsFTPd Activo en Puerto 21
@@ -585,71 +597,11 @@
- -
-
- -

🔒 Autenticación de Sistema VPS

-

- Por motivos de seguridad, para interactuar con la terminal Bash del servidor debes autenticarte con tus credenciales de usuario del sistema operativo (Linux VPS). -

- -
- - -
- - -
- -
- - -
- - - - -
-
-
- - -