Generally, batocera's ssh account is root and the password is linux.
Change RetrachCores = "/usr/lib/libretro/"
for retrach cores = "/user data/cores/"
Add a kernel under the emulator you want to add.
take for example