Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
net:git [2020/05/24 15:10] – [Redirection ssh] david | net:git [2022/05/31 20:18] – [Redirection ssh] david | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <note important> | ||
- | en cours d' | ||
- | </ | ||
- | |||
- | |||
< | < | ||
====== Donner accès à vos dépôt git ====== | ====== Donner accès à vos dépôt git ====== | ||
Ligne 58: | Ligne 53: | ||
====== Serveur web ====== | ====== Serveur web ====== | ||
- | '' | + | '' |
Il peut être utilisé directement sous Apache, mais nécessite le port [[https:// | Il peut être utilisé directement sous Apache, mais nécessite le port [[https:// | ||
Ligne 184: | Ligne 179: | ||
root@popeye:/ | root@popeye:/ | ||
sshd_enable: | sshd_enable: | ||
+ | root@popeye:/ | ||
+ | sshd_flags: | ||
root@popeye:/ | root@popeye:/ | ||
</ | </ | ||
+ | |||
+ | <callout type=" | ||
Maintenant, il faut connecter l' | Maintenant, il faut connecter l' | ||
Ligne 193: | Ligne 192: | ||
<file bash / | <file bash / | ||
# allow jail_git to connect to internet | # allow jail_git to connect to internet | ||
- | nat on $ext_if inet6 from $jail_git to any -> ($ext_if) | + | nat on $ext_if inet6 from $jail_git to any -> ($ext_if):0 |
# | # | ||
rdr pass on $ext_if proto tcp from any to ($ext_if) port 9022 -> jail_git port 22 | rdr pass on $ext_if proto tcp from any to ($ext_if) port 9022 -> jail_git port 22 | ||
Ligne 214: | Ligne 213: | ||
<code bash> | <code bash> | ||
- | david]loin: | + | david@loin: |
Clonage dans ' | Clonage dans ' | ||
Enter passphrase for key '/ | Enter passphrase for key '/ |