Fix forgejo ssh

This commit is contained in:
♥ Minnie ♥ 2024-06-06 20:56:17 +08:00
parent 4bd78856e7
commit 670a7f2cd4
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 1 additions and 2 deletions

View file

@ -11,7 +11,7 @@
userEmail = "its.jassy@pm.me"; userEmail = "its.jassy@pm.me";
extraConfig = { extraConfig = {
init.defaultBranch = "master"; init.defaultBranch = "master";
core.sshCommand = "ssh -i ~/.ssh/forgejo_sk -F /dev/null"; core.sshCommand = "ssh -i ~/.ssh/forgejo_sk -p 62841 -F /dev/null";
commit.gpgsign = "true"; commit.gpgsign = "true";
user.signingkey = "8563E358D4E8040E"; user.signingkey = "8563E358D4E8040E";
}; };

View file

@ -6,7 +6,6 @@
settings = { settings = {
PermitRootLogin = "no"; PermitRootLogin = "no";
PasswordAuthentication = false; PasswordAuthentication = false;
AllowUsers = [ "sajenim" ];
}; };
ports = [ 62841 ]; ports = [ 62841 ];
openFirewall = true; openFirewall = true;