mirror of https://github.com/elunez/eladmin
				
				
				
			push master
							parent
							
								
									afd176ab96
								
							
						
					
					
						commit
						28c235271e
					
				| 
						 | 
				
			
			@ -50,14 +50,10 @@ jobs:
 | 
			
		|||
        set timeout 300
 | 
			
		||||
        
 | 
			
		||||
        # Start SSH session
 | 
			
		||||
        spawn ssh root@172.235.32.135
 | 
			
		||||
        spawn ssh -o StrictHostKeyChecking=no root@172.235.32.135
 | 
			
		||||
        
 | 
			
		||||
        # Handle the host key verification prompt and password prompt
 | 
			
		||||
        # Handle the password prompt
 | 
			
		||||
        expect {
 | 
			
		||||
          "Are you sure you want to continue connecting (yes/no/[fingerprint])?" {
 | 
			
		||||
            send "yes\r"
 | 
			
		||||
            exp_continue
 | 
			
		||||
          }
 | 
			
		||||
          "Password:" {
 | 
			
		||||
            send "$password\r"
 | 
			
		||||
            exp_continue
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue