Saltar al contenido

SSH(Secure Shell)

Un protocolo cifrado para iniciar sesión y administrar servidores de forma segura a través de una red.

SSH is how you remotely control a headless server via the command line. Always disable password login and use SSH keys, change the default port, and consider tools like fail2ban. SSH also powers secure file transfer (SCP/SFTP) and port tunneling.

Key-based authentication is the single most important hardening step: generate a key pair, copy the public key to the server with ssh-copy-id, then disable password authentication entirely so brute-force attempts become pointless. Beyond that, SSH is a versatile tool — SCP and SFTP move files securely, and local or reverse port forwarding lets you tunnel to a service without exposing it publicly. As a rule, never forward SSH straight to the internet without keys and fail2ban; better still, reach it over a VPN so it isn't exposed at all.

Artículos relacionados

Port Forwarding

Una regla del router que dirige el tráfico entrante de internet en un puerto específico a un dispositivo de tu red local.

Reverse Proxy

Un servidor que se sitúa delante de tus servicios, enrutando peticiones por nombre de dominio y gestionando certificados TLS.

VPN(Virtual Private Network)

Un túnel cifrado que te permite acceder de forma segura a tu red doméstica desde cualquier lugar como si estuvieras en local.