Allow extra time for initial ssh connection to build server

This commit is contained in:
Ciaran Gultnieks 2012-09-20 14:14:53 +01:00
parent b321e26a65
commit 8983aaf2f9

View file

@ -114,7 +114,7 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, sdk_path):
sshs = ssh.SSHClient()
sshs.set_missing_host_key_policy(ssh.AutoAddPolicy())
sshs.connect(sshconfig['hostname'], username=sshconfig['user'],
port=int(sshconfig['port']), timeout=10, look_for_keys=False,
port=int(sshconfig['port']), timeout=60, look_for_keys=False,
key_filename=sshconfig['identityfile'])
# Get an SFTP connection...