#!/bin/sh sudo=$([ $(id -u) -eq 0 ] || echo sudo --) exec $sudo ssh -i /etc/ssh/ssh_host_ed25519_key -l root "$@"