PubkeyAuthentication
PubkeyAuthentication is an SSH authentication method that uses public-key cryptography to verify a user’s identity without requiring a password. In this scheme, the user possesses a private key and the server stores the corresponding public key. When connecting, the server verifies a signature created with the private key, proving the user controls the key pair without exposing sensitive material.
How it works: The user generates a key pair (for example with ssh-keygen) and places the public
Configuration involves both server and client settings. On the server (sshd_config), PubkeyAuthentication yes enables the method,
Security considerations include protecting private keys with strong passphrases, restricting key usage with options in authorized_keys