Correct kernighan SSH port
This commit is contained in:
parent
d03872f7f8
commit
8671328595
|
@ -13,7 +13,7 @@
|
||||||
hostName = "kernighan";
|
hostName = "kernighan";
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 2222 80 443 ];
|
allowedTCPPorts = [ 2223 80 443 ];
|
||||||
};
|
};
|
||||||
interfaces = {
|
interfaces = {
|
||||||
end0.ipv4.addresses = [{
|
end0.ipv4.addresses = [{
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ports = [ 2222 ];
|
ports = [ 2222 2223 ];
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ Host kernighan
|
||||||
IdentityFile /home/tsv/.ssh/personal
|
IdentityFile /home/tsv/.ssh/personal
|
||||||
User tsv
|
User tsv
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
Port 2222
|
Port 2223
|
||||||
|
|
||||||
Host git.tsvallender.co.uk
|
Host git.tsvallender.co.uk
|
||||||
HostName git.tsvallender.co.uk
|
HostName git.tsvallender.co.uk
|
||||||
|
|
Loading…
Reference in New Issue