Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work at all #18

Closed
Deploy-CICD opened this issue Mar 6, 2024 · 1 comment
Closed

Doesn't work at all #18

Deploy-CICD opened this issue Mar 6, 2024 · 1 comment

Comments

@Deploy-CICD
Copy link

I have installed the package from apt and from the deb file you provided in the Releases menu of github repo.
The installation is smooth and successful. After that when I use sshlog sessions, I can only see two sessions which are not correct and both session's last activity shows the time when the sshlog service was actually started. If I open another ssh session in another terminal or close it it doesn't increase or decrease the number of sessions in sshlog sessions.

Apart from that, when I use sshlog watch, it gives me an empty output even though I run several commands in another terminal while this command is running. The log files in /var/log/sshlog are empty and never generate any output even though I have run several commands. I have kept the configuration files as default and following are my machine's specs

OS : Ubuntu 20.04.6 LTS
OpenSSH Version : 1:8.2p1-4ubuntu0.11
Gnupg version : 2.2.19-3ubuntu2.2
Curl version : 7.68.0-1ubuntu2.21
sshlog version : 1.0.0
Kernel version : 5.4.0-1101-aws

@Deploy-CICD
Copy link
Author

Ohh. It doesn't logs root user history and I was trying from root user only. When I switched my user to ubuntu, it started working. Apologies for the confusion but I think it should be a feature in upcoming version to log root user history as well (can be turned off in config file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant