kazulog@sv1:~$ sudo apt-get purge -y openssh-server Reading package lists... 0% Reading package lists... 100% Reading package lists... Done Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... Done Reading state information... 0% Reading state information... 0% Reading state information... Done Solving dependencies... 0% Solving dependencies... 10% Solving dependencies... Done The following packages will be REMOVED: openssh-server* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 2903 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 91398 files and directories currently installed.) Removing openssh-server (1:10.2p1-2ubuntu3.5) ... Stopping 'ssh.service', but its triggering units are still active: ssh.socket Processing triggers for man-db (2.13.1-1build1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 91373 files and directories currently installed.) Purging configuration files for openssh-server (1:10.2p1-2ubuntu3.5) ... dpkg: warning: while removing openssh-server, directory '/etc/ssh/sshd_config.d' not empty so not removed Processing triggers for ufw (0.36.2-9build1) ... kazulog@sv1:~$ kazulog@sv1:~$ kazulog@sv1:~$ dpkg -l openssh-server +-- Desired=Unknown/Install/Remove/Purge/Hold |+- Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend ||+ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||| Name Version Architecture Description +++-==============-============-============-================================= un openssh-server (no description available) kazulog@sv1:~$ systemctl status ssh --no-pager Unit ssh.service could not be found. kazulog@sv1:~$ ss -tlnp State Recv-Q Send-Q Local Address:Port Peer Address:Port Process LISTEN 0 4096 127.0.0.54:53 0.0.0.0:* LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* kazulog@sv1:~$ ls /etc/ssh/ ssh_config ssh_config.d ssh_import_id sshd_config.d kazulog@sv1:~$ kazulog@sv1:~$