Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
liming6
sshd-tool
Commits
4c2688a9
"vllm/vscode:/vscode.git/clone" did not exist on "9c1352eb5736d9e71d37959db44b6a641e898772"
Commit
4c2688a9
authored
Dec 18, 2025
by
liming6
Browse files
init commit
parents
Pipeline
#3157
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
Readme.md
Readme.md
+19
-0
go.mod
go.mod
+3
-0
No files found.
Readme.md
0 → 100644
View file @
4c2688a9
# 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提供查询服务
go.mod
0 → 100644
View file @
4c2688a9
module sshd-tool
go 1.24.9
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment