I tried added a key file and even a password txt but both lead to it still asking for me to type in the password.

Is it because the drive is encrypted? I tried placing the files at /, /boot, /root, /etc

Edit1: I’ve tried to install dropbear and give it ssh keys. I will try to reboot in the morning and see what happens

Edit2: signing in via ssh just says port 22 rejected not working :(

  • Unmapped@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    5 hours ago

    Thanks, I was thinking about it as if the key was stored on the same drive. Like OP is trying to do. Which I don’t think would help in the case of it being stolen. Or any case I can think of. But I see how A cloud key would make a lot of sense. And would be a good compromise on security vs convenience.