mirror of https://github.com/CISOfy/lynis.git
Added ssh_host_ed25519_key and ssh_host_ed25519_key.pub as sources to create Host ID
This commit is contained in:
parent
e227b42eaf
commit
3e94c4a8f0
|
@ -583,7 +583,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_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 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"
|
||||
if [ -d /etc/ssh ]; then
|
||||
for I in ${SSH_KEY_FILES}; do
|
||||
if [ "${HOSTID}" = "" ]; then
|
||||
|
|
Loading…
Reference in New Issue