Ssh (see man ssh(1)
)
is used to exchange meta-data and archives files by using a “chroot” jail for each collection account,
as bind-unbind (see bind-unbind) script provides the cache and gitbare directories into that jail.
Process conceptual model:
... # <<<mdtx-* Match user mdtx-* ChrootDirectory /var/cache/mediatex/mdtx/jail X11Forwarding no AllowTcpForwarding no # mdtx-*>>>
root:x:0: www-data:x:33:www-data mdtx:x:120:www-data mdtx_md:x:123:mdtx,www-data mdtx-COLL:x:124:www-data,mdtx
root:x:0:0:root:/root:/bin/bash www-data:x:33:33:www-data:/var/www:/bin/sh mdtx:x:112:120::/var/cache/mediatex/mdtx:/bin/bash mdtx-COLL:x:114:124::…/home/mdtx-COLL:/bin/bash
The SSH client’s configuration file bellow is managed during MEDIATEX’s upgrades.
# Do not ask for password BatchMode yes Compression yes Host hostname1 Port 22
Code: