diff options
author | zeripath <art27@cantab.net> | 2021-05-13 13:11:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-13 15:11:28 +0300 |
commit | 0ada74edbc555d28a1fc929bfc47162102f2c87d (patch) | |
tree | 28258147f77d19f5b543971112b9d5419c322eb1 /package-lock.json | |
parent | 52f8dcda43645a1e961243e46b557f39f6a2d616 (diff) | |
download | gitea-0ada74edbc555d28a1fc929bfc47162102f2c87d.tar.gz gitea-0ada74edbc555d28a1fc929bfc47162102f2c87d.zip |
Only offer hostcertificates if they exist (#15849)
A common bug report is the otherwise harmless sshd logging:
```
Could not load host certificate "/data/ssh/ssh_host_ed25519_cert": No such file or directory
```
This PR simply checks if these files exist before creation of sshd_config and if
they do not exist, doesn't add a reference to them.
Fix #14110 amongst others.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'package-lock.json')
0 files changed, 0 insertions, 0 deletions