summaryrefslogtreecommitdiff
path: root/src/fqterm/fqterm_frame.cpp
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-05-21 11:41:44 +0800
committerIru Cai <mytbk920423@gmail.com>2018-06-08 15:25:18 +0800
commit9ceadd480c24d61148c120335931456b39a4837b (patch)
tree59f1595ccc27e618819c471d2726a37ad452e588 /src/fqterm/fqterm_frame.cpp
parent083414da945ff6e4be429a43b3e5cfefe10e7c05 (diff)
downloadfqterm-9ceadd480c24d61148c120335931456b39a4837b.tar.xz
conn_info: show if host key matches
Diffstat (limited to 'src/fqterm/fqterm_frame.cpp')
-rw-r--r--src/fqterm/fqterm_frame.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fqterm/fqterm_frame.cpp b/src/fqterm/fqterm_frame.cpp
index eef3558..79ff517 100644
--- a/src/fqterm/fqterm_frame.cpp
+++ b/src/fqterm/fqterm_frame.cpp
@@ -715,6 +715,11 @@ static QString ssh2_info(conn_info_t *info)
txt.append(QString("\nMAC(s2c): %1")
.arg(info->ssh_proto_info.s2c_mac));
}
+ if (info->ssh_proto_info.key_matches)
+ txt.append("\nkey matches");
+ else
+ txt.append("\nkey mismatch!");
+
return txt;
}