recognize ssh ed25519 keys

This extends the regexp matching ssh rsa and dss keys to ed25519 keys.
This commit is contained in:
Igor Bukanov 2015-06-18 19:39:28 +02:00
parent abb99b560d
commit 2f53ae1602

View File

@ -31,7 +31,7 @@ ssh_authorized_keys:
- <SSH_KEY>
hostname: <HOSTNAME>
"
REGEX_SSH_FILE="^ssh-(rsa|dss) [-A-Za-z0-9+\/]+[=]{0,2} .+"
REGEX_SSH_FILE="^ssh-(rsa|dss|ed25519) [-A-Za-z0-9+\/]+[=]{0,2} .+"
while getopts "d:e:H:i:n:p:S:t:h" OPTION
do