Closed Docjones closed 2 years ago
According to my research, there seems to be no syslog available to redirect the messages to.
Appending a -e
to the argument list of execution of sshd
in setup.sh
would possibly be the best solution?
Hi @Docjones, yes exactly, in this container sshd is not run as a service. Therefore nothing will show up at /var/log
. I would suggest running sshd with option '-E' instead to create a log wherever you wish. No log rotation or anything fancy but might be good enough for debugging.
Could it be that you are affected by the deprecation of RSA?
I'll look into making it run as a service, though I'm worried about how much overhead it will be added.
How about adding the possibility to add command line arguments via ENV
Variable (similar to JAVA_OPTS
)? That would reduce the efford on your site and perfectly suit my needs :)
Additionally: possibly i hit the RAS deprecation - will try with a different algorithm. Any suggestions?
How about adding the possibility to add command line arguments via
ENV
Variable (similar toJAVA_OPTS
)? That would reduce the efford on your site and perfectly suit my needs :)
Agreed, I'll change it to allow custom commands. I got it setup that way on other containers. Don't know why I didn't do the same on this one.
Additionally: possibly i hit the RAS deprecation - will try with a different algorithm. Any suggestions?
I would suggest going for the top-of-the-class EdDSA algorithm.
Hello @rockstorm101 - any progress on this?
Hi @Docjones, sorry, still not on top of my todo list I'm afraid. Happy to accept a PR if you wish.
Hello,
i am trying to get a spring-boot-cloud-config-repository up and running using your solution. Due to enterprise policies, i am urged to get a dedicated git-server with ssl key up and running.
I am trying to extend your solution using a Dockerfile:
This works so far - however, i am getting a "Auth Fail" at the client side (the SpringBoot Cloud-Configserver trying to clone the repo).
To debug the issue, i am forced to see the sshd-logging, but i cant find it within the container. I added
LogLevel DEBUG3
to the sshd_config file, but the logfile does not appear in/var/log/
. Can you assist me in getting the sshd in your container to get some more information?