make ssh config more strict
This commit is contained in:
		
							parent
							
								
									329fb7fd96
								
							
						
					
					
						commit
						28c32073a0
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		| 
						 | 
					@ -48,7 +48,13 @@
 | 
				
			||||||
  programs.firejail.enable = true;
 | 
					  programs.firejail.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  security.rtkit.enable = true;
 | 
					  security.rtkit.enable = true;
 | 
				
			||||||
  services.sshd.enable = true;
 | 
					  services.openssh = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    kbdInteractiveAuthentication = false;
 | 
				
			||||||
 | 
					    passwordAuthentication = false;
 | 
				
			||||||
 | 
					    permitRootLogin = "no";
 | 
				
			||||||
 | 
					    ports = [ 9022 ];
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ## Enable sound with pipewire.
 | 
					  ## Enable sound with pipewire.
 | 
				
			||||||
  sound.enable = true;
 | 
					  sound.enable = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue