Change SSH port to default as we no longer expose the service

This commit is contained in:
♥ Minnie ♥ 2024-07-09 09:49:10 +08:00
parent 10d696d3d2
commit 98891a9b15
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@
matchBlocks."viridian" = { matchBlocks."viridian" = {
hostname = "viridian.kanto.dev"; hostname = "viridian.kanto.dev";
identityFile = "/home/sajenim/.ssh/sajenim_sk"; identityFile = "/home/sajenim/.ssh/sajenim_sk";
port = 62841; port = 22;
}; };
matchBlocks."lavender" = { matchBlocks."lavender" = {

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 -p 62841 -F /dev/null"; core.sshCommand = "ssh -i ~/.ssh/forgejo_sk -F /dev/null";
commit.gpgsign = "true"; commit.gpgsign = "true";
user.signingkey = "8563E358D4E8040E"; user.signingkey = "8563E358D4E8040E";
}; };

View file

@ -8,7 +8,7 @@
PasswordAuthentication = false; PasswordAuthentication = false;
LogLevel = "VERBOSE"; LogLevel = "VERBOSE";
}; };
ports = [ 62841 ]; ports = [ 22 ];
openFirewall = true; openFirewall = true;
}; };