Commit 4c2688a9 authored by liming6's avatar liming6
Browse files

init commit

parents
Pipeline #3157 failed with stages
in 0 seconds
# readme
sshd-tool用于收集sshd的日志,过滤出用户的登录和退出ssh信息
依赖:
- sshd
- rsyslog
工作流程:
配置sshd和rsyslog,将sshd日志转发到机器上的一个unix socket或者远端的tcp或udp
sshd-tool监听这个unix socket,过滤出需要的信息
除此之外,sshd-tool需要解析各个系统用户家目录下的.ssh/authorized_keys文件的内容
最终,sshd-tool提供查询服务
module sshd-tool
go 1.24.9
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment