You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/ssh
wxiaoguang 54ef658861
Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299) (#20306)
Backport #20299. Follow #20298. Only the `GlobalInitInstalled` function should prepare the SSH files for external server or starts the builtin server.
* `trustedUserCaKeys` is removed, use `SSH.TrustedUserCAKeys` directly
* introduce `ssh.Init`, move the SSH init code from `routers/init.go` to it
* `ssh.Init` will start builtin SSH server or prepare external SSH server files
3 years ago
..
init.go Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299) (#20306) 3 years ago
ssh.go Implement http signatures support for the API (#17565) 3 years ago
ssh_graceful.go Refactor SSH init code, fix directory creation for TrustedUserCAKeys file (#20299) (#20306) 3 years ago