MOCs
Getting Root Back
Whitelist SSH Users and Other SSH Tricks
Whitelist
vim /etc/ssh/sshd_config
Make the following line
AllowedUsers <username> <username>
Only ssh keys
Looking at Network
ss -tunap
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp ESTAB 0 0 172.16.0.121%wlp0s20f3:68 172.16.0.1:67
udp UNCONN 0 0 0.0.0.0:35940 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:37304 0.0.0.0:*
udp UNCONN 0 0 0.0.0.0:21027 0.0.0.0:* users:(("syncthing",pid=2821,fd=19))
udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:*
udp UNCONN 0 0 [::]:21027 [::]:* users:(("syncthing",pid=2821,fd=22))
udp UNCONN 0 0 [::]:5353 [::]:*
udp UNCONN 0 0 *:22000 *:* users:(("syncthing",pid=2821,fd=13))