fac6b87dd2
bugfix check for alternate ssh host certificate location ( #34146 )
...
fixes #34145
Edited all locations to actually be correct.
---------
Co-authored-by: wxiaoguang <[email protected] >
Co-authored-by: Giteabot <[email protected] >
2025-04-09 22:21:54 +03:00
ManInDark and GitHub
f8d549436e
also check default ssh-cert location for host ( #34099 ) ( #34100 )
2025-04-03 14:34:54 -04:00
c533991519
Expanded minimum RSA Keylength to 3072 ( #26604 )
...
German Federal Office for Information Security requests in its technical
guideline BSI TR-02102-1 RSA Keylength not shorter than 3000bits
starting 2024, in the year 2023 3000bits as a recommendation. Gitea
should request longer RSA Keys by default in favor of security and drop
old clients which do not support longer keys.
https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR02102/BSI-TR-02102.pdf?__blob=publicationFile&v=9
- Page 19, Table 1.2
---------
Co-authored-by: wxiaoguang <[email protected] >
2023-08-28 00:53:16 +00:00
f17edfaf5a
Remove deprecated DSA host key from Docker Container ( #21522 )
...
Since OpenSSH 7.0 and greater similarly disable the ssh-dss (DSA) public
key algorithm, and recommend against its use.
http://www.openssh.com/legacy.html
## ⚠️ BREAKING ⚠️
This patch will remove DSA host key form OpenSSH daemon configuration
file.
Signed-off-by: baronbunny <[email protected] >
Co-authored-by: 6543 <[email protected] >
Co-authored-by: Lunny Xiao <[email protected] >
Co-authored-by: wxiaoguang <[email protected] >
2022-11-03 19:49:12 +08:00
4a295d4a6c
feat: Add support for extra sshd_config parameters via 'Include' file ( #19842 )
...
Co-authored-by: techknowlogick <[email protected] >
2022-05-31 14:42:19 -04:00
Gusted and GitHub
ba5f2acb9c
Configure OpenSSH log level via Environment in Docker ( #19274 )
...
Introduce a new environment variable: SSH_LOG_LEVEL
2022-03-31 11:15:36 +08:00
8947422781
Fix bug due to missing MaxStartups and MaxSessions ( #16046 )
...
Unforunately #16009 makes these settings mandatory. This PR uses the same technique
as used for the certificates to make these settings non-mandatory.
Fix #16044
Signed-off-by: Andrew Thornton <[email protected] >
Co-authored-by: 6543 <[email protected] >
2021-06-01 15:55:17 -04:00
0ada74edbc
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 <[email protected] >
Co-authored-by: silverwind <[email protected] >
Co-authored-by: Lauris BH <[email protected] >
2021-05-13 15:11:28 +03:00
e7b47c5215
Format files ( #13698 )
...
* align "make help"
* format
* untouch build/generate-svg.js
* untouch .eslintrc
* combine editorconfig's
* rm editorconfig
Co-authored-by: Lauris BH <[email protected] >
Co-authored-by: techknowlogick <[email protected] >
2020-11-28 01:12:22 -05:00
zeripath and Lunny Xiao
0a96e59884
Fix #8453 by making openssh listen on SSH_LISTEN_PORT not SSH_PORT ( #8477 )
2019-10-12 23:45:00 +08:00
Christopher Thomas and techknowlogick
75d4414386
Implement the ability to change the ssh port to match what is in the gitea config ( #7286 )
...
* - rearrange the templates to make it more logical because now ssh_config is a template
- implemented the updating of the port to the same as the port sent to the gitea config
* change the filename back
2019-07-06 21:57:53 -04:00
Jakob Ackermann and techknowlogick
dab38c375d
[docker] drop the docker Makefile from the image ( #6507 )
2019-05-05 22:49:32 -04:00