Before installing, ensure your system packages are up to date sudo pacman -Syu
Use the following command to install the OpenSSH package: sudo pacman -S openssh
Once installed, start and enable the SSH daemon: sudo systemctl start sshd sudo systemctl enable sshd
To verify the SSH service is running properly: sudo systemctl status sshd
If using a firewall, ensure SSH is allowed: sudo ufw allow ssh Your system is now ready to use OpenSSH!