Skip to main content

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/sys

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