diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2021-08-28 16:01:12 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2021-08-28 16:01:12 +0200 |
commit | 7a9ebccc623cf96ff53f7945e0500061d9a71f89 (patch) | |
tree | e21e9160694367e1e30b3dce494124870a3dde9f /scripts | |
parent | b63ea7695bf9f7dcf40185d043eba3d67974f7b3 (diff) | |
download | dotfiles-7a9ebccc623cf96ff53f7945e0500061d9a71f89.tar.gz |
ssh-host-keys
Diffstat (limited to 'scripts')
-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 |