Management and Repository for FreeBSD Jails

Attention! Current pages describe CBSD version 10.1.4. 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 ]
                

cbsd jailscp command allows you to copy files from / filesystems jail. The syntax is similar for scp(1) arguments

If you copy from/to a jail that is not local, those located on a remote node, copying is possible only if exist id_rsa keys for remote node. Also, when the presence rootkeyfile for remote node, connect via root user will be preffered instead of cbsd user, that will allow you to write files in jail, not only in directories whose owner cbsd

Example:

                        % cbsd jailscp