From 7a9ebccc623cf96ff53f7945e0500061d9a71f89 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 28 Aug 2021 16:01:12 +0200 Subject: ssh-host-keys --- scripts/ssh-host-keys.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 scripts/ssh-host-keys.sh (limited to 'scripts') 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 -- cgit v1.2.3