add a missing is:

Co-authored-by: Eric Huss <eric@huss.org>
This commit is contained in:
Jacob Finkelman 2023-09-08 15:14:10 -04:00 committed by GitHub
parent 44666f7377
commit eb188831da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,7 @@ fn known_host_works() {
// Validate the fingerprint while we're here.
let fingerprint = stderr
.lines()
.find_map(|line| line.strip_prefix(" The ECDSA key fingerprint"))
.find_map(|line| line.strip_prefix(" The ECDSA key fingerprint is: "))
.unwrap()
.trim();
let finger_out = sshd.exec(&["ssh-keygen", "-l", "-f", "/etc/ssh/ssh_host_ecdsa_key.pub"]);