TyOS-Local-Scripts/disable_remote_services

4 lines
No EOL
120 B
Bash

#!/usr/bin/env bash
sudo systemctl disable --now xrdp xrdp-sesman cockpit.socket ssh
echo "Use automode to enable them"