diff --git a/nselib/ssh2.lua b/nselib/ssh2.lua index 2d039f929..b4644362b 100644 --- a/nselib/ssh2.lua +++ b/nselib/ssh2.lua @@ -315,7 +315,7 @@ fetch_host_key = function( host, port, key_type ) algorithm = "ECDSA" bits = "521" elseif key_type == 'ssh-ed25519' then - algorithm = "EdDSA" + algorithm = "ED25519" bits = "256" else stdnse.debug1("Unsupported key type: %s", key_type )