update ssh config
This commit is contained in:
		
							parent
							
								
									12a1359d31
								
							
						
					
					
						commit
						62d579ee92
					
				
					 1 changed files with 4 additions and 10 deletions
				
			
		| 
						 | 
					@ -3,21 +3,11 @@
 | 
				
			||||||
  config.programs.ssh = {
 | 
					  config.programs.ssh = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    matchBlocks = {
 | 
					    matchBlocks = {
 | 
				
			||||||
      "vpn1" = {
 | 
					 | 
				
			||||||
        host = "vpn1 hetzner-vpn1";
 | 
					 | 
				
			||||||
        hostname = "157.90.146.125"; # 2a01:4f8:c012:7137::/64
 | 
					 | 
				
			||||||
        user = "root";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
      "vpn2" = {
 | 
					      "vpn2" = {
 | 
				
			||||||
        host = "vpn2 hetzner-vpn2";
 | 
					        host = "vpn2 hetzner-vpn2";
 | 
				
			||||||
        hostname = "2a01:4f8:c013:65dd::1";
 | 
					        hostname = "2a01:4f8:c013:65dd::1";
 | 
				
			||||||
        user = "root";
 | 
					        user = "root";
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
      "vpn1-ts" = {
 | 
					 | 
				
			||||||
        host = "vpn1-ts hetzner-vpn1.donkey-pentatonic.ts.net";
 | 
					 | 
				
			||||||
        hostname = "hetzner-vpn1.donkey-pentatonic.ts.net";
 | 
					 | 
				
			||||||
        user = "root";
 | 
					 | 
				
			||||||
      };
 | 
					 | 
				
			||||||
      "openwrt" = {
 | 
					      "openwrt" = {
 | 
				
			||||||
        host = "openwrt openwrt.lan";
 | 
					        host = "openwrt openwrt.lan";
 | 
				
			||||||
        hostname = "openwrt.lan";
 | 
					        hostname = "openwrt.lan";
 | 
				
			||||||
| 
						 | 
					@ -63,6 +53,10 @@
 | 
				
			||||||
        user = "deploy";
 | 
					        user = "deploy";
 | 
				
			||||||
        port = 31337;
 | 
					        port = 31337;
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					      "forgejo-runner-1" = {
 | 
				
			||||||
 | 
					        hostname = "forgejo-runner-1.dev.zerforschen.plus";
 | 
				
			||||||
 | 
					        user = "root";
 | 
				
			||||||
 | 
					      };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue