Update apt with
sudo apt update
You will be prompted to enter the user with sudo privileges the first time sudo is invoked
The following set of commands will install, verify that the openssh server is running, and ensure access through the ( UFW ) firewall
sudo apt install openssh-server
sudo systemctl status ssh
sudo ufw allow ssh
The following set of commands will install xrdp and xrdp for the X Windows server, enable, start, and allow access through the ( UFW ) firewall
sudo apt install xrdp xorgxrdp -y
sudo systemctl enable xrdp
sudo systemctl start xrdp
sudo ufw allow 3389/tcp
Leave a Reply