Hi all,
I am currently searching for a simple solution to copy files between jails.
What I think I understood: Jails are jails. they are kept safe.
If I want to access a jail from another jail, I need to allow that, i.e. via ssh.
Lets say, I want to copy files from jail A to jail B, then, as usual with remote shells, I have to create a key pair on A, somehow transmit the publicly to B, enable and start ssh on both machines, also allow probably root for ssh login and then I can ssh-in from A to B and use whatever ssh based file copy utility...
Right?
There is no other - more easy way to do that?
I always have to manually provision those servers etc. (maybe partly automatable by provisioning on jail creation, still root enablement has to be changed manually in the ssh config file)
If anyone has a good idea on using other strategies to copy files from a "build" jail in a ci-cd pipeline to the "server" jail, it would be appreciated
cheers,
Martin
I am currently searching for a simple solution to copy files between jails.
What I think I understood: Jails are jails. they are kept safe.
If I want to access a jail from another jail, I need to allow that, i.e. via ssh.
Lets say, I want to copy files from jail A to jail B, then, as usual with remote shells, I have to create a key pair on A, somehow transmit the publicly to B, enable and start ssh on both machines, also allow probably root for ssh login and then I can ssh-in from A to B and use whatever ssh based file copy utility...
Right?
There is no other - more easy way to do that?
I always have to manually provision those servers etc. (maybe partly automatable by provisioning on jail creation, still root enablement has to be changed manually in the ssh config file)
If anyone has a good idea on using other strategies to copy files from a "build" jail in a ci-cd pipeline to the "server" jail, it would be appreciated

cheers,
Martin