diff options
-rwxr-xr-x | ssh-hostkeys | 5 |
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 |