Skip to content

Commit fb0d8ee

Browse files
committed
Merge pull request #95 from QuentinPerez/expose_ssh_keys
Expose server SSH Keys fingerprint #36
2 parents 216b977 + 3cb2f4e commit fb0d8ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

skeleton-common/usr/local/sbin/oc-generate-ssh-keys

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ then
1111
ssh-keygen -t ed25519 -N '' -f /etc/ssh/ssh_host_ed25519_key || true &
1212
wait `jobs -p` || true
1313
fi
14+
oc-userdata ssh-host-fingerprints "`cat /etc/ssh/ssh_host_*pub`"

0 commit comments

Comments
 (0)