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
2022-07-11 23:27:51 +08:00
..
2022-01-20 18:46:10 +01:00
2022-05-06 10:12:30 +01:00
2022-06-12 20:08:23 +08:00
2022-01-20 18:46:10 +01:00
2022-01-19 19:31:39 -05:00
2022-01-20 18:46:10 +01:00
2022-04-19 12:55:35 -04:00
2022-01-20 18:46:10 +01:00
2022-03-30 16:42:47 +08:00
2021-12-20 04:41:31 +00:00
2022-06-12 20:08:23 +08:00
2022-04-25 13:55:12 +08:00