Enable Forgejo built-in SSH server on port 2222

This commit is contained in:
ashisgreat22 2026-03-18 23:49:02 +01:00
parent 6e9de4c189
commit 748ccc6fc8

View file

@ -52,6 +52,8 @@ in
HTTP_ADDR = "127.0.0.1"; HTTP_ADDR = "127.0.0.1";
HTTP_PORT = cfg.port; HTTP_PORT = cfg.port;
SSH_PORT = 2222; SSH_PORT = 2222;
START_SSH_SERVER = true;
SSH_LISTEN_ADDR = "0.0.0.0";
}; };
service = { service = {
DISABLE_REGISTRATION = cfg.disableRegistration; DISABLE_REGISTRATION = cfg.disableRegistration;