Mini patches to support wheezy

wheezy
Benoît S. 5 years ago
parent d430740383
commit f9678c0ec7

@ -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() {

@ -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

Loading…
Cancel
Save