summaryrefslogtreecommitdiffstats
path: root/ssh-hostkeys
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-10-11 16:14:07 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-10-11 16:14:07 +0200
commite5cf5827b5cc9498df89df56afe4537ac5d3c9f7 (patch)
tree8cb78a0ec6118bc8ab99b3449ceef8af3a66a1f5 /ssh-hostkeys
parent00173f3c9ad32118bfc3534a3b4e546b98d88cd9 (diff)
downloadbin-e5cf5827b5cc9498df89df56afe4537ac5d3c9f7.tar.gz
bin-e5cf5827b5cc9498df89df56afe4537ac5d3c9f7.tar.xz
add ssh-hostkeys
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'ssh-hostkeys')
-rwxr-xr-xssh-hostkeys5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssh-hostkeys b/ssh-hostkeys
new file mode 100755
index 0000000..1cd2bdf
--- /dev/null
+++ b/ssh-hostkeys
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+for file in /etc/ssh/ssh_host_*.pub; do
+ ssh-keygen -l -f $file
+done