git-serv

All-in-one Git hosting container

git clone git://git.janzachar.dev/git-serv.git


0#!/bin/sh
1
2set -eu
3
4[ -L "/etc/ssh" ] && exit 0
5
6cp -R /etc/ssh /srv/ssh
7rm -rf /etc/ssh
8ln -s /srv/ssh /etc/ssh
9
10cp /srv/config/sshd_config /srv/ssh/sshd_config
11ssh-keygen -A
12
13