1
Fork 0

Attempt to make forgejo ssh work (again)

This commit is contained in:
prescientmoon 2024-11-14 13:49:26 +01:00
parent f90b8e27fe
commit c954c32ae1
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -9,7 +9,7 @@
satellite.cloudflared.at.git.port = config.satellite.ports.forgejo; satellite.cloudflared.at.git.port = config.satellite.ports.forgejo;
satellite.cloudflared.at."ssh.git" = { satellite.cloudflared.at."ssh.git" = {
protocol = "ssh"; protocol = "ssh";
port = config.satellite.ports.forgejo-ssh; port = 22; # default ssh port
}; };
services.forgejo = { services.forgejo = {
@ -32,8 +32,8 @@
# START_SSH_SERVER = true; # START_SSH_SERVER = true;
# BUILTIN_SSH_SERVER_USER = "git"; # BUILTIN_SSH_SERVER_USER = "git";
# SSH_LISTEN_PORT = config.satellite.ports.forgejo-ssh;
SSH_DOMAIN = config.satellite.cloudflared.at."ssh.git".host; SSH_DOMAIN = config.satellite.cloudflared.at."ssh.git".host;
SSH_LISTEN_PORT = config.satellite.ports.forgejo-ssh;
}; };
cron.ENABLED = true; cron.ENABLED = true;