summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-09-20 01:53:37 +0100
committerColin Watson <cjwatson@debian.org>2014-09-20 01:53:37 +0100
commitac480c4b2ac73ec50f60dfb34b27375fcd5d176b (patch)
tree22838aa2a338b44eab7a856d67821a37026a8c81 /debian/openssh-server.postinst
parent3ddd27842dfe7f5dd40feabf19cdc2cc7950c700 (diff)
Show fingerprints of new keys after creating them in the postinst (closes: #762128).
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst1
1 files changed, 1 insertions, 0 deletions
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() {
111 if which restorecon >/dev/null 2>&1; then 111 if which restorecon >/dev/null 2>&1; then
112 restorecon "$file" "$file.pub" 112 restorecon "$file" "$file.pub"
113 fi 113 fi
114 ssh-keygen -l -f "$file.pub"
114 fi 115 fi
115} 116}
116 117