summaryrefslogtreecommitdiffstats
path: root/ssh-hostkeys
blob: 15138f62aa71edad85d01fdc35284b7091a8e365 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

for type in sha256 md5; do
	for file in /etc/ssh/ssh_host_*.pub; do
		ssh-keygen -l -f $file -E $type
	done
	echo
done