endlessh

endlessh ssh "protection"

// show listeners
sudo netstat -tulpn

//config
vi /etc/endlessh/config

// restart
sudo systemctl restart endlessh

// service
sudo vi /etc/systemd/system/endlessh.service

// bin
/etc/local/bin/endlessh

log in /var/log/syslog

Oct 28 21:29:58 vps789715 endlessh[109246]: 2020-10-28T20:29:58.165Z ACCEPT host=::ffff:82.217.135.153 port=63357 fd=4 n=1/4096
Oct 28 21:30:18 vps789715 endlessh[109246]: 2020-10-28T20:30:18.177Z CLOSE host=::ffff:82.217.135.153 port=63357 fd=4 time=20.012 bytes=14

Revision #4
Created 28 October 2020 20:20:39 by Max
Updated 28 October 2020 20:38:59 by Max