Apologies if this sounds ridiculous but every phrasing/combination of words I google about this keeps giving me stuff about SSH and my question is mainly about serial consoles.
I've come to really like serial consoles, and I'm curious if there's any way to have an alternate form of login such as a key pair instead of username/password. I've been experimenting with Flatcar and Fedora CoreOS lately, and want to be able to store my Butane/Ignition configs in version control on Github. From what I understand, while it's fine to have the public ssh key in git (duh, it's the public key), storing password hashes (the other option for user login) is not a good idea.
The closest thing I could find that was (maybe?) remotely related was this post on Unix stackexchange that talks about creating a custom
Anyone have any thoughts on this?
I've come to really like serial consoles, and I'm curious if there's any way to have an alternate form of login such as a key pair instead of username/password. I've been experimenting with Flatcar and Fedora CoreOS lately, and want to be able to store my Butane/Ignition configs in version control on Github. From what I understand, while it's fine to have the public ssh key in git (duh, it's the public key), storing password hashes (the other option for user login) is not a good idea.
The closest thing I could find that was (maybe?) remotely related was this post on Unix stackexchange that talks about creating a custom
/bin/login
for getty. That could be the approach I would need to take, but I'm not sure. I could use another git provider that allows free private repos (like Gitlab) and then add password hashes to the ignition configs, but I like the idea of being able to share how I do my homelab. What I do not want to do though is have any kind of auto login on the serial console.Anyone have any thoughts on this?