-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
ssh logs about missing host certificates #13724
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
Comments
So these are actually more warnings than errors and don't have any effect on the running of the sshd server. They simply mean that if the cert files exist they are used. The alternative would mean that if you wanted to use a certificate you'd have to change the sshd.conf in addition to add them in. I guess it might be possible to generate the sshd.conf with a template and variables? |
I'm personally going to add those to my gitea config, but could be annoying for users as it's filling logs with every connection (I'm running it behind a loadbalancer with a healthcheck). Feel free to close also if not worth the effort. |
I guess if you stuck some environment variable and template checks around
Wouldn't be too much work - only issue is I guess you would have to remember to change the file manually if you restarted the docker and wanted to add them in. |
This comment has been minimized.
This comment has been minimized.
@joseluisq the |
@techknowlogick yeah I have realized after fix the issue because a bad Gitea config. |
A note.
So maybe the sshd_config template is just pointing to wrong files, eg. SSH daemon seems to get the public keys from the private keys also, but prints warning on each connection. |
No. Those are different things. Just ignore the "errors" they're irrelevant. |
7ec1c13 (release/v1.13)
Self-build docker image
Description
Every ssh connection now logs
Introduced by #13143
Maybe make this opt-in?
The text was updated successfully, but these errors were encountered: