SSH
Secure Shell (SSH) is a network protocol that allows the secure transmission of data and commands over a network. It is widely used to manage remote systems, execute commands, and transfer files securely. The most commonly used SSH server is OpenSSH, a free and open-source implementation of the SSH protocol.
Install OpenSSH
$ sudo apt install openssh-server -y
Server Status
$ systemctl status ssh
SSH - Logging In
$ ssh cry0l1t3@10.129.17.122
The first time you connect, SSH will prompt you to verify and trust the host key.
Configuration
OpenSSH can be configured via /etc/ssh/sshd_config. Here you can set limits for connections, enable/disable password logins, configure host key behavior, and more. Changes should be made carefully and validated after restarting the service.
Use Cases
Remote administration (secure shell access)
Secure file transfers (e.g., scp or sftp)
Tunneling and port forwarding for secure access to internal services