mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 14:38:36 +09:00 
			
		
		
		
	Make sure SSH host keys are generated when SSH is enabled
This commit is contained in:
		
							
								
								
									
										1
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@@ -2,6 +2,7 @@ raspi-config (20190429) buster; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * Update do_wifi_country
 | 
			
		||||
    - Enable wifi regardless of whether /run/wifi-country-unset exists
 | 
			
		||||
  * Make sure SSH host keys are generated when SSH is enabled
 | 
			
		||||
 -- Serge Schneider <serge@raspberrypi.org>  Mon, 29 Apr 2019 14:52:56 +0100
 | 
			
		||||
 | 
			
		||||
raspi-config (20190424) stretch; urgency=medium
 | 
			
		||||
 
 | 
			
		||||
@@ -676,6 +676,7 @@ do_ssh() {
 | 
			
		||||
    RET=$1
 | 
			
		||||
  fi
 | 
			
		||||
  if [ $RET -eq 0 ]; then
 | 
			
		||||
    ssh-keygen -A &&
 | 
			
		||||
    update-rc.d ssh enable &&
 | 
			
		||||
    invoke-rc.d ssh start &&
 | 
			
		||||
    STATUS=enabled
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user