Accidentally uninstalled all ssh servers on a headless pi3

So without realizing what I had done…I find myself “locked out” of one of my Pi’s because it’s a headless system and I seemingly uninstalled all ssh server options. I can take the SD card out and put it in a reader on my computer. Is there a file I can alter to set the resolution from “headless” to 1920x1080?

Unless you can locally run dietpi-software to reinstall a SSH server, i’d recommend fresh image installation.