Disable password authentication and root login.
This commit is contained in:
		
							parent
							
								
									cb4ee59b76
								
							
						
					
					
						commit
						0dff532d28
					
				| 
						 | 
				
			
			@ -18,6 +18,12 @@
 | 
			
		|||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    openssh.enable = true;
 | 
			
		||||
    openssh = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      settings = {
 | 
			
		||||
        PasswordAuthentication = false;
 | 
			
		||||
        PermitRootLogin = "no";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue