From ac480c4b2ac73ec50f60dfb34b27375fcd5d176b Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 20 Sep 2014 01:53:37 +0100 Subject: Show fingerprints of new keys after creating them in the postinst (closes: #762128). --- debian/changelog | 2 ++ debian/openssh-server.postinst | 1 + 2 files changed, 3 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index e041fc8d8..93da46b38 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ openssh (1:6.6p1-8) UNRELEASED; urgency=medium * Make the if-up hook use "reload" rather than "restart" if the system was booted using systemd (closes: #756547). + * Show fingerprints of new keys after creating them in the postinst + (closes: #762128). -- Colin Watson Wed, 13 Aug 2014 00:59:23 +0100 diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst index 90bad6285..cf6e312fe 100644 --- a/debian/openssh-server.postinst +++ b/debian/openssh-server.postinst @@ -111,6 +111,7 @@ create_key() { if which restorecon >/dev/null 2>&1; then restorecon "$file" "$file.pub" fi + ssh-keygen -l -f "$file.pub" fi } -- cgit v1.2.3