mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
There is no support for ECDSA on OpenSSH < 5.7.
This breaks tests on several platforms.
This commit is contained in:
parent
893d174577
commit
0f6e94ab6d
@ -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,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user