-
Notifications
You must be signed in to change notification settings - Fork 40
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
sshd logs #11
Comments
I ran into this issue too, and couldn't find anything under I think the cause of this issue is the same as hinted at in this Unix.SE question: Alpine doesn't come with rsyslog or other necessary services by default, while I didn't want to deal with installing extra services, so I tried to find another way to do it. I found this ServerFault answer:
I tried setting that as the command for the container by starting as docker-gitolite/docker-entrypoint.sh Lines 4 to 5 in 76019b4
Editing that line and adding |
As mentioned in jgiannuzzi#11, sshd tries to log to rsyslog, which isn't installed in Alpine by default, so this lets the logs be sent to standard out instead, where it can be managed by Docker.
As mentioned in jgiannuzzi#11, sshd tries to log to rsyslog, which isn't installed in Alpine by default, so this lets the logs be sent to standard out instead, where it can be managed by Docker.
i'm trying to debug an SSH authentication issue. How can I get server-side logs?
The text was updated successfully, but these errors were encountered: