From 50609242c22fdbd89f8fcecd04007c2edad1477d Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Tue, 10 May 2016 14:21:09 +0200 Subject: [PATCH] Only use public keys for host ID creation --- include/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions b/include/functions index aeb5a221..c50c2b5c 100644 --- a/include/functions +++ b/include/functions @@ -783,7 +783,7 @@ if [ "${HOSTID}" = "" ]; then LogText "Result: no HOSTID available, trying to use SSH key as unique source" # Create host ID when a MAC address was not found - SSH_KEY_FILES="ssh_host_ed25519_key ssh_host_ed25519_key.pub ssh_host_ecdsa_key ssh_host_ecdsa_key.pub ssh_host_dsa_key ssh_host_dsa_key.pub ssh_host_rsa_key ssh_host_rsa_key.pub" + SSH_KEY_FILES="ssh_host_ed25519_key.pub ssh_host_ecdsa_key.pub ssh_host_dsa_key.pub ssh_host_rsa_key.pub" if [ -d /etc/ssh ]; then for I in ${SSH_KEY_FILES}; do if [ "${HOSTID}" = "" ]; then