Mini patches to support wheezy

This commit is contained in:
Benoît S. 2018-03-23 15:31:28 +01:00
parent d430740383
commit f9678c0ec7
2 changed files with 1 additions and 2 deletions

2
bkctld
View File

@ -312,7 +312,7 @@ sub_start() {
mkdir -p dev/shm
grep -q "${JAILDIR}/${jail}/dev/pts" /proc/mounts || mount -t devpts -o gid=4,mode=620 none dev/pts
grep -q "${JAILDIR}/${jail}/dev/shm" /proc/mounts || mount -t tmpfs none dev/shm
chroot "${JAILDIR}/${jail}" /usr/sbin/sshd -E /var/log/authlog
chroot "${JAILDIR}/${jail}" /usr/sbin/sshd
}
sub_stop() {

View File

@ -3,7 +3,6 @@ Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600