From 0dc37ed5fa4cf38bb95082bf357c365f9b6cc761 Mon Sep 17 00:00:00 2001 From: Kevin Puetz Date: Sun, 30 Dec 2018 01:46:57 -0600 Subject: [PATCH] Update passwd-expect -ssh to allow for ECDSA (#6574) fingerprint_string could have different wording on a modern installation if the server key is not RSA --- plugins/password/helpers/passwd-expect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/password/helpers/passwd-expect b/plugins/password/helpers/passwd-expect index 7db21ad1f..dd62ed33b 100644 --- a/plugins/password/helpers/passwd-expect +++ b/plugins/password/helpers/passwd-expect @@ -43,7 +43,7 @@ set host "localhost" set login "ssh" set program "passwd" set prompt_string "(%|\\\$|>)" -set fingerprint_string "The authenticity of host.* can't be established.*\nRSA key fingerprint is.*\nAre you sure you want to continue connecting.*" +set fingerprint_string "The authenticity of host.* can't be established.*\n(RSA|ECDSA) key fingerprint is.*\nAre you sure you want to continue connecting.*" set password_string "(P|p)assword.*" set oldpassword_string "((O|o)ld|login|\\\(current\\\) UNIX) (P|p)assword.*" set newpassword_string "(N|n)ew.* (P|p)assword.*"