Skip to content

Commit bfb1ebe

Browse files
committed
Don't use SSH agent when connecting to test VMs
It's not helpful, and if the agent setup is broken or the agent is unhealthy then contacting the agent can break us.
1 parent 7f0e0bf commit bfb1ebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

release-process/test-system.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ def ssh_command(self):
115115
def ssh_options(self):
116116
return ['-i', self.keypair_pem_file,
117117
'-o', 'StrictHostKeyChecking=no',
118+
# A broken agent config can stop SSH from working. Bypass that.
119+
'-o', 'IdentityAgent=none',
118120
'-o', 'BatchMode=yes',
119121
'-o', 'ConnectTimeout=5',
120122
'-o', 'IdentitiesOnly=yes']

0 commit comments

Comments
 (0)