diff --git a/manifests/init.pp b/manifests/init.pp index 2dfc71c..cf0d9f6 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -50,7 +50,7 @@ class sshd( $sshkey_ipaddress = $::ipaddress, $manage_client = true, $hostkey_type = versioncmp($::ssh_version, '6.5') ? { - /(^1|0)/ => [ 'rsa', 'ed25519' ], + /(1|0)/ => [ 'rsa', 'ed25519' ], /-1/ => [ 'rsa', 'dsa' ] } ) {