[P2602][F1] OpenSSH on fenix+maurik, win_domain vault key, SSH matrix updated
This commit is contained in:
+3
-1
@@ -63,6 +63,7 @@ sshpass -p "$PASS" ssh -J root@10.0.10.205 admindasu@10.0.100.12 "cmd"
|
||||
| `rsa` | Passphrase de la llave SSH (`~/.ssh/id_rsa`). |
|
||||
| `domain_admin` | Credenciales del Administrador del dominio `dasuten.utnlr`. |
|
||||
| `admindasu` | Credenciales del usuario `admindasu` (Domain Admin). |
|
||||
| `win_domain` | Contraseña de `monlaricardo` en dominio UTNLARIOJA (SSH a VMs Windows). |
|
||||
|
||||
## 3. Autorización SSH
|
||||
|
||||
@@ -84,7 +85,8 @@ Las identidades permanecen activas mientras dure la sesión del agente SSH (sin
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| **Hipervisores** (pmox1/2/3) | `root` | Llave RSA (passphrase `rsa`) | `ssh root@10.0.10.201` |
|
||||
| **VMs/CTs Linux** | `rmonla` | Llave RSA (desplegada) + sudo (`sudo`) | `ssh rmonla@10.0.10.4` |
|
||||
| **VMs Windows** | Pendiente | OpenSSH (por instalar) | — |
|
||||
| **VMs Windows** | `monlaricardo` | Password (`win_domain`) + OpenSSH | `ssh monlaricardo@10.0.10.200` |
|
||||
| **XenServer** (xen1) | `rmonla` | Password (`sudo`) | `ssh rmonla@10.0.10.23` |
|
||||
|
||||
**Despliegue de llaves**: La llave pública de srv-ns8 (`~/.ssh/id_rsa.pub`) fue desplegada a todos los nodos Linux via `ssh-copy-id rmonla@<ip>` el 28/02/2026.
|
||||
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
| ✅ 10:45 | (IA) 🔑 **Despliegue SSH**: Llave desplegada via `ssh-copy-id rmonla@` a los 9 nodos Linux. Verificado: todos responden sin contraseña. ADN `03_seguridad.md` actualizado con matriz de acceso SSH. Windows (108-111) pendiente OpenSSH. `[Físico: 0:16 hs]` |
|
||||
| ⏳ 10:52 | (IA) 🔧 Hostname VM 102 corregido: `srvv-SCERO` → `srvv-SITIO0`. |
|
||||
| ⏳ 11:00 | (IA) 📋 **XenServer agregado a P2602**: srv-xen1 + srvv-maurik + srvv-sysacadweb. Renombrado `srv-xen01` → `srv-xen1` en nodos/ontología. SSH `rmonla@` a srv-xen1 ✅ (password). Total: 15 guests a respaldar. |
|
||||
| ✅ 11:27 | (IA) 🧟 **OpenSSH en VMs Windows**: Instalado en srvv-fenix (`10.0.10.200`) y srvv-maurik (`10.0.10.10`) via w-zombi. SSH verificado con usuario `monlaricardo` (dominio). Credencial `win_domain` almacenada en bóveda. `[Físico: 0:21 hs]` |
|
||||
|
||||
### Operaciones Centrales
|
||||
|
||||
|
||||
@@ -91,11 +91,11 @@ Automatizar el ciclo completo de backup de la DTIC — actualmente un proceso ma
|
||||
| pmox2 | 108 | pcv-dasu1 | Win10 | windows | Libre | ❌ pendiente |
|
||||
| pmox2 | 109 | pcv-dasu2 | Win10 | windows | Libre | ❌ pendiente |
|
||||
| pmox2 | 110 | pcv-serviio | Win10 | windows | Libre | ❌ pendiente |
|
||||
| pmox3 | 111 | srvv-fenix | Legacy | windows | 🌙 00:00-06:00 | ❌ pendiente |
|
||||
| pmox3 | 111 | srvv-fenix | WinSrv 2019 | windows | 🌙 00:00-06:00 | ✅ monlaricardo |
|
||||
| pmox3 | 106 | srvv-uptime | Debian | lxc | Libre | ✅ rmonla |
|
||||
| pmox3 | 107 | srvv-data | Debian | lxc | Libre | ✅ rmonla |
|
||||
| pmox3 | 113 | srvv-sitio2 | Debian | lxc | Libre | ✅ rmonla |
|
||||
| **xen1** | — | **srvv-maurik** | **WinSrv 2019** | **windows** | **Libre** | **❌ pendiente** |
|
||||
| **xen1** | — | **srvv-maurik** | **WinSrv 2019** | **windows** | **Libre** | **✅ monlaricardo** |
|
||||
| **xen1** | — | **srvv-sysacadweb** | **WinSrv 2008R2** | **windows** | **Libre** | **❌ pendiente** |
|
||||
|
||||
**Excluidos** (stopped, sin auto-inicio, en preparación): docker (100), srvv-N8N VM (114), srvv-N8N CT (115).
|
||||
|
||||
@@ -1 +1,40 @@
|
||||
Write-Host "W-Zombi: Operacion completada. Sin payload activo." -ForegroundColor Green
|
||||
function Log-Msg {
|
||||
param([string]$Message)
|
||||
Write-Host $Message -ForegroundColor Cyan
|
||||
try {
|
||||
Invoke-RestMethod -Uri "http://10.0.10.8:8000/log" -Method Post -Body @{msg=$Message} -UseBasicParsing -ErrorAction SilentlyContinue | Out-Null
|
||||
} catch {}
|
||||
}
|
||||
|
||||
Log-Msg "=========================================================="
|
||||
Log-Msg "INSTALANDO Y HABILITANDO OPENSSH SERVER NATIVO"
|
||||
Log-Msg "=========================================================="
|
||||
try {
|
||||
$sshCheck = Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH.Server*'
|
||||
if ($sshCheck.State -ne 'Installed') {
|
||||
Log-Msg "Instalando caracteristica OpenSSH.Server (esto puede tomar un minuto)..."
|
||||
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 | Out-Null
|
||||
} else {
|
||||
Log-Msg "OpenSSH.Server ya se encuentra instalado."
|
||||
}
|
||||
|
||||
Log-Msg "Configurando servicio sshd en Inicio Automatico..."
|
||||
Set-Service -Name sshd -StartupType 'Automatic'
|
||||
Start-Service sshd -ErrorAction SilentlyContinue
|
||||
|
||||
if (!(Get-NetFirewallRule -Name "OpenSSH-Server-In-TCP" -ErrorAction SilentlyContinue)) {
|
||||
Log-Msg "Abriendo puerto TCP 22 en el Firewall local..."
|
||||
New-NetFirewallRule -Name 'OpenSSH-Server-In-TCP' -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22 | Out-Null
|
||||
}
|
||||
|
||||
$ip = (Get-NetIPAddress -AddressFamily IPv4 | Where-Object InterfaceAlias -notmatch 'Loopback').IPAddress
|
||||
Log-Msg "OpenSSH Server instalado y corriendo en el puerto 22."
|
||||
Log-Msg "Conectar via: ssh Administrador@$($ip[0])"
|
||||
} catch {
|
||||
Log-Msg "Fallo al instalar SSH: $_"
|
||||
}
|
||||
|
||||
Log-Msg "=========================================================="
|
||||
Log-Msg "OPERACION COMPLETADA. Ahora SSH esta disponible."
|
||||
Log-Msg "=========================================================="
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user