Fixes backup system authentication and hostname resolution issues. Changes: - Change PermitRootLogin from "no" to "prohibit-password" in global SSH config (allows key-based root login for host-to-host backups while blocking passwords) - Update fuchsia onsite backup to use viridian.home.arpa FQDN instead of shortname - Update SSH knownHosts to use FQDNs (fuchsia.home.arpa, viridian.home.arpa) (system-level config uses FQDNs, user shortcuts remain in home-manager) This enables the complete 3-2-1 backup strategy with automated backups working correctly between fuchsia and viridian, and fuchsia to BorgBase.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			551 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			551 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{inputs, ...}: {
 | 
						|
  # Trust viridian's host keys for SSH connections (system-level, uses FQDN)
 | 
						|
  programs.ssh.knownHosts = {
 | 
						|
    "viridian-ed25519" = {
 | 
						|
      hostNames = ["viridian.home.arpa"];
 | 
						|
      publicKeyFile = "${inputs.self}/nixos/viridian/ssh_host_ed25519_key.pub";
 | 
						|
    };
 | 
						|
    "viridian-rsa" = {
 | 
						|
      hostNames = ["viridian.home.arpa"];
 | 
						|
      publicKeyFile = "${inputs.self}/nixos/viridian/ssh_host_rsa_key.pub";
 | 
						|
    };
 | 
						|
  };
 | 
						|
 | 
						|
  # Trust BorgBase repository (offsite backup target)
 | 
						|
  programs.ssh.knownHostsFiles = [
 | 
						|
    ./borgbase_hosts
 | 
						|
  ];
 | 
						|
}
 |