mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	Revert "CLOUDSTACK-2534: Modify id_rsa.cloud's permission to 600"
This reverts commit 5d70e1928c19dc18b0479354b24649081f79c277. Wrong fix. The correct key is at: /var/cloudstack/management/.ssh/id_rsa
This commit is contained in:
		
							parent
							
								
									5d70e1928c
								
							
						
					
					
						commit
						c8bc7a0af5
					
				@ -65,7 +65,7 @@ copy_priv_key() {
 | 
			
		||||
  local newprivkey=$1
 | 
			
		||||
  diff -q $newprivkey $(dirname $0)/id_rsa.cloud && return 0
 | 
			
		||||
  $SUDO cp -fb $newprivkey $(dirname $0)/id_rsa.cloud
 | 
			
		||||
  $SUDO chmod 600 $(dirname $0)/id_rsa.cloud
 | 
			
		||||
  $SUDO chmod 644 $(dirname $0)/id_rsa.cloud
 | 
			
		||||
  return $?
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user