removed password auth from ssh for defiant
This commit is contained in:
		
							parent
							
								
									0138aebb26
								
							
						
					
					
						commit
						aa19c47149
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -42,11 +42,10 @@ | ||||||
|     enable = true; |     enable = true; | ||||||
|     ports = [ 22 ]; |     ports = [ 22 ]; | ||||||
|     settings = { |     settings = { | ||||||
|       PasswordAuthentication = true; |       PasswordAuthentication = false; | ||||||
|       AllowUsers = [ "leyla" ]; # Allows all users by default. Can be [ "user1" "user2" ] |       AllowUsers = [ "leyla" ]; # Allows all users by default. Can be [ "user1" "user2" ] | ||||||
|       UseDns = true; |       UseDns = true; | ||||||
|       X11Forwarding = false; |       X11Forwarding = false; | ||||||
|       PermitRootLogin = "without-password"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no" |  | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue