anc-vserver-01:~# netstat -nlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:43589 0.0.0.0:* LISTEN 2196/rpc.statd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1725/portmap tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2091/inetd tcp 0 0 127.0.0.1:22 0.0.0.0:* LISTEN 2272/sshd tcp 0 0 192.168.50.21:22 0.0.0.0:* LISTEN 2272/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2079/exim4 udp 0 0 0.0.0.0:32768 0.0.0.0:* 2196/rpc.statd udp 0 0 0.0.0.0:676 0.0.0.0:* 2196/rpc.statd udp 0 0 0.0.0.0:68 0.0.0.0:* 1891/dhclient3 udp 0 0 0.0.0.0:111 0.0.0.0:* 1725/portmap Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 5480 2036/acpid /var/run/acpid.socket anc-vserver-01:~# apt-get install harden-servers harden-clients --purge Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: nfs-common* pidentd* portmap* telnet* The following NEW packages will be installed: harden-clients harden-servers 0 upgraded, 2 newly installed, 4 to remove and 0 not upgraded. Need to get 0B/27.8kB of archives. After unpacking 741kB disk space will be freed. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 19351 files and directories currently installed.) Removing nfs-common ... Stopping NFS common utilities: statd. Purging configuration files for nfs-common ... Removing pidentd ... Purging configuration files for pidentd ... Removing portmap ... Stopping portmap daemon.... Purging configuration files for portmap ... Removing telnet ... Purging configuration files for telnet ... Selecting previously deselected package harden-clients. (Reading database ... 19275 files and directories currently installed.) Unpacking harden-clients (from .../harden-clients_0.1.30_all.deb) ... Selecting previously deselected package harden-servers. Unpacking harden-servers (from .../harden-servers_0.1.30_all.deb) ... Setting up harden-clients (0.1.30) ... Setting up harden-servers (0.1.30) ... anc-vserver-01:~# netstat -nlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:22 0.0.0.0:* LISTEN 2272/sshd tcp 0 0 192.168.50.21:22 0.0.0.0:* LISTEN 2272/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2079/exim4 udp 0 0 0.0.0.0:68 0.0.0.0:* 1891/dhclient3 Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 5480 2036/acpid /var/run/acpid.socket anc-vserver-01:~# yay!