diff --git a/README.md.txt b/README.md.txt deleted file mode 100644 index 241ad67..0000000 --- a/README.md.txt +++ /dev/null @@ -1,75 +0,0 @@ -# PowerShell (Sapian) — SSH tipo Linux + Backup/Restore - -Este repositorio contiene los scripts para dejar PowerShell en Windows listo para trabajar como en Ubuntu: - -✅ Autosugerencias de comandos (tipo fish) -✅ Búsqueda en historial con `Ctrl+R` (fzf) -✅ Conexiones SSH rápidas usando tu `ssh_config` existente -✅ Backup y restore del entorno (incluye llaves si aplica) - ---- - -## Estructura del repo - -PowerShell/ -│ README.md -└─ scripts/ -│ 01-New-SshConfigLink.ps1 -│ 02-Backup-PwshSshSetup.ps1 -│ 03-Restore-PwshSshSetup.ps1 - - ---- - -## IMPORTANTE: ubicación real del ssh_config - -El archivo con los servidores **NO está dentro de este repo**. - -Se mantiene en esta ruta (NO se mueve): - -C:\Users\ofgar\Workspace\revelation\ssh_config - - ---- - -## ¿Qué hace cada script? - -### `01-New-SshConfigLink.ps1` -Crea el enlace para que Windows use tu ssh_config actual: - -C:\Users\ofgar.ssh\config --> C:\Users\ofgar\Workspace\revelation\ssh_config - - -Opcional: también puede reparar permisos de `id_rsa` si da error de permisos. - ---- - -### `02-Backup-PwshSshSetup.ps1` -Genera un backup del entorno: - -- Perfil de PowerShell -- Historial de comandos (PSReadLine) -- Copia del `ssh_config` (desde su ruta actual) -- Opcional: llaves SSH (`id_rsa`, `id_rsa.pub`, `known_hosts`) - ---- - -### `03-Restore-PwshSshSetup.ps1` -Restaura todo en un equipo nuevo: - -- Instala módulos necesarios -- Restaura perfil PowerShell -- Restaura historial (opcional) -- Restaura llaves + repara permisos (opcional) -- Vuelve a crear el enlace de `~\.ssh\config` - ---- - -## Instalación base (una sola vez) - -Abrir PowerShell y ejecutar: - -```powershell -Install-Module PSReadLine -Scope CurrentUser -Force -winget install fzf -Install-Module PSFzf -Scope CurrentUser -Force \ No newline at end of file