diff options
Diffstat (limited to 'projectroot')
-rw-r--r-- | projectroot/etc/rc.once.d/openssh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projectroot/etc/rc.once.d/openssh b/projectroot/etc/rc.once.d/openssh index bfec70641..66cfa06df 100644 --- a/projectroot/etc/rc.once.d/openssh +++ b/projectroot/etc/rc.once.d/openssh @@ -26,7 +26,7 @@ create_key() { file="/etc/ssh/ssh_host_${keytype}_key" - if echo "$hostkeys" | grep -x "$file" >/dev/null; then + if echo "$hostkeys" | grep -x -F "$file" >/dev/null; then echo "Create $prettykeytype key; this may take some time ..." rm -f $file && ssh-keygen -q -f "$file" -N '' -t "$keytype" "$@" || return |