mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Rsny fails with Host key verification failed.
Add StrictHostKeyChecking policy from AbstractTask
This commit is contained in:
		
							parent
							
								
									aeefc871a5
								
							
						
					
					
						commit
						7e6420f55e
					
				@ -96,7 +96,7 @@ class RsyncTask extends BaseStrategyTaskAbstract implements IsReleaseAware
 | 
			
		||||
 | 
			
		||||
        $command = 'rsync -avz '
 | 
			
		||||
                 . $strategyFlags . ' '
 | 
			
		||||
                 . '--rsh="ssh ' . $this->getConfig()->getHostIdentityFileOption() . '-p' . $this->getConfig()->getHostPort() . '" '
 | 
			
		||||
                 . '--rsh="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ' . $this->getConfig()->getHostIdentityFileOption() . '-p' . $this->getConfig()->getHostPort() . '" '
 | 
			
		||||
                 . $this->excludes($excludes) . ' '
 | 
			
		||||
                 . $this->excludesListFile($excludesListFilePath) . ' '
 | 
			
		||||
                 . $this->getConfig()->deployment('from') . ' '
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user