I currently have a alpine linix VM where I had one time SSH’d into the remote server to exchange logon keys.
This means I can run my scripts without username and login credentials I just need to point to a key file instead.
I might be overthinking it like you said.
Though essentially I am trying to build a docker image of this same setup and can see I will need llfp and cron. Just not sure how to handle the key file at this point.
CrackedLinuxISO@lemmy.dbzer0.com 3 days ago
What do you mean by handling the keyfile?
You can generate your ssh keys outside of docker and make them available in the container through a mounted directory. You will need to manually copy the public key to your remote host
authorized_keys
file anyway.NarrativeBear@lemmy.world 3 days ago
Ahh yes that’s what I was looking to do.
I was thinking if I already have a key file on the remote and local servers then I may not need shh installed on the docker container to do this setup.