allow ecdsa-sha2-nistp256 hostkeys
This commit is contained in:
parent
bfb085888b
commit
a7a15c203e
@ -624,7 +624,7 @@ Import all exported node SSH keys. Valid values are 'true' and 'false'.
|
|||||||
|
|
||||||
ssh_key_type
|
ssh_key_type
|
||||||
------------
|
------------
|
||||||
Encryption type for SSH key. Valid values are 'rsa', 'dsa', 'ssh-dss' and 'ssh-rsa'
|
Encryption type for SSH key. Valid values are 'ecdsa-sha2-nistp256', 'rsa', 'dsa', 'ssh-dss' and 'ssh-rsa'
|
||||||
|
|
||||||
- *Default*: 'ssh-rsa'
|
- *Default*: 'ssh-rsa'
|
||||||
|
|
||||||
|
@ -620,8 +620,11 @@ class ssh (
|
|||||||
'ssh-dsa','dsa': {
|
'ssh-dsa','dsa': {
|
||||||
$key = $::sshdsakey
|
$key = $::sshdsakey
|
||||||
}
|
}
|
||||||
|
'ecdsa-sha2-nistp256': {
|
||||||
|
$key = $::sshecdsakey
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("ssh::ssh_key_type must be 'ssh-rsa', 'rsa', 'ssh-dsa', or 'dsa' and is <${ssh_key_type}>.")
|
fail("ssh::ssh_key_type must be 'ecdsa-sha2-nistp256', 'ssh-rsa', 'rsa', 'ssh-dsa', or 'dsa' and is <${ssh_key_type}>.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user