2020-10 upd: we reached the first fundraising goal and rented a server in Hetzner for development! Thank you for donating !
Attention! Current pages describe CBSD version 13.0.x. If you are using an older version, please update first.
Attention! I apologize for the automatic translation of this text. You can improve it by sending me a more correct version of the text or fix html pages via GITHUB repository.
Copying files from/to jail filesystem
jailscp command
% jail1:remotefile1 localfile1 [ localfile2 jail2@:remotefile2 ]
The cbsd jailscp command allows you to copy files between your host filesystem that of a jail. The syntax is similar the one used by scp(1)
Copying files to and from remote jails is only possible if the necessary ssh keys are available. When a rootkeyfile for remote node is present, the connection will default to using root privileges rather than those of the cbsd user. This allow you to write files to any directory in the jail, not those owned by cbsd
Example:
% cbsd jailscp