Secure Shell (SSH) is a cryptographic network protocol that enables two computers to establish an encrypted and secure connection over potentially insecure networks.
Default Port:22/TCP
Configuration File:/etc/ssh/sshd_config
Check configuration:
cat/etc/ssh/sshd_config|grep-v"#"|sed-r'/^\s*$/d'
2. Authentication Methods in OpenSSH
OpenSSH supports six different authentication mechanisms:
Password Authentication – Users log in with username + password.
Public-Key Authentication – Most secure; uses private/public key pairs.
Host-Based Authentication – Trusts authentication from specific hosts.