I saw above that you proposed adding an option to connect to the IP address by default. This would also benefit me, as on my Mac systems, the default connection of http://machinename does not work, since Macs expect to use the .local domain.
On a side note, this process helped me to recover my unRAID server from some Docker which I accidentally mounted / to, which then changed ownership and permissions on that mount point and its contents, without having to reboot the whole server to restore the initrd. Small stupidity averted without sacrificing my precious uptime, haha.
(OpenSSH will not let anyone log in if /var/empty is world accessible, among other things.)