I have been fiddling with trying to build a Dockerfile and container for the following.

A Alpine Linix image with LFTP, cron, & openssh installed for use with my external server to sync folders.

I have a Alpine Linix VM that I connect with a external server using SSH keys, and a cron task running a LFTP script on schedule.

Any help or pointing me at a container you know of is appreciated.

  • NarrativeBear@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    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.