Another option is to use a smartphone with damaged screen, USB Ethernet card and an external USB drive.
The pixel 6 and 7 have full KVM capabilities tho: https://www.patreon.com/posts/74333551
https://medium.com/junior-dev/how-to-re-purpose-your-old-and...