SSH Guide: From Basics to Secure Setup
What is SSH? SSH (Secure Shell) creates an encrypted connection between your computer and a remote server. Everything you type and all output is encrypted. Components: SSH client - On your computer (you type ssh) SSH server - On the remote machine (sshd daemon) Encryption - Your traffic is unreadable to anyone in between How SSH Works You run ssh user@server Client connects to server port 22 They negotiate encryption (key exchange) You authenticate (password or key) Encrypted channel established Your commands run on the server Password vs Key Authentication Password authentication: ...