Authentication is the process of verifying a principal's identity, while authorization determines what actions a principal can perform. Common authentication methods include password authentication using hashes and salts to secure passwords, and public-key authentication using challenge-response protocols like SSH. SSH authentication works by having the client prove possession of the private key without revealing it, through an agent that stores private keys in memory to avoid repeatedly entering passphrases.