Fix forgejo ssh
This commit is contained in:
parent
4bd78856e7
commit
670a7f2cd4
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
settings = {
|
settings = {
|
||||||
PermitRootLogin = "no";
|
PermitRootLogin = "no";
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
AllowUsers = [ "sajenim" ];
|
|
||||||
};
|
};
|
||||||
ports = [ 62841 ];
|
ports = [ 62841 ];
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
|
Loading…
Reference in a new issue