#!/bin/bash post_install() { touch /etc/tinyssh/root_key chmod 600 /etc/tinyssh/root_key cat< /etc/tinyssh/root_key". If you want to use the same host keys as your OpenSSH installation (only ed25519 for now), install tinyssh-convert or tinyssh-convert-git BEFORE rebuilding your initramfs. Or, if you already have keys generated, remove either the /etc/tinyssh/sshkeydir, or the ed25519 public and secret keys from that dir, in order to use OpenSSH keys. This hook will not overwrite existing keys either OpenSSH's converted or tinysshd-makekey created. Afterwards add the "tinyssh" hook after any networking hook (netconf/ppp) and before any hook provided with the mkinitcpio-utils package in the "HOOKS" array in "/etc/mkinitcpio.conf". Finally rebuild the initramsfs ("mkinitcpio -p linux"). INSTALLEOF } post_remove() { cat<