Skip to content

System Commands

System OS timed reboot

#IN 10 Minutes
sudo shutdown -r +10

#AT o'clock
sudo shutdown –r 16:15

#Cancel
shutdown -c

enabling SSH

installing SSH
sudo apt install openssh-server -y

alt text

check service status
sudo systemctl status ssh

alt text

ufw

If you have ufw enabled, allow the connection on the SSH port by using the ufw command

sudo ufw allow ssh

alt text

enable and reload the ufw

sudo ufw enable && sudo ufw reload

alt text