There is no support for ECDSA on OpenSSH < 5.7.

This breaks tests on several platforms.
This commit is contained in:
Mike Place 2014-12-29 17:53:16 -07:00
parent 893d174577
commit 0f6e94ab6d

View File

@ -541,7 +541,7 @@ def prepare_ssh_access(options):
print('Generating temporary SSH Key')
ssh_key_path = os.path.join(options.workspace, 'jenkins_ssh_key_test')
subprocess.call(
'ssh-keygen -t ecdsa -b 521 -C "$(whoami)@$(hostname)-$(date --rfc-3339=seconds)" '
'ssh-keygen -b 2048 -C "$(whoami)@$(hostname)-$(date --rfc-3339=seconds)" '
'-f {0} -N \'\' -V -10m:+1h'.format(ssh_key_path),
shell=True,
)