diff options
-rwxr-xr-x | scripts/ssh-host-keys.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/ssh-host-keys.sh b/scripts/ssh-host-keys.sh new file mode 100755 index 0000000..e72431a --- /dev/null +++ b/scripts/ssh-host-keys.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +for host in "$@"; do + ssh-keyscan -t rsa "$host" 2> /dev/null | ssh-keygen -lf - +done |