Mini patches to support wheezy
This commit is contained in:
parent
d430740383
commit
f9678c0ec7
2
bkctld
2
bkctld
|
@ -312,7 +312,7 @@ sub_start() {
|
||||||
mkdir -p dev/shm
|
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/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
|
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() {
|
sub_stop() {
|
||||||
|
|
|
@ -3,7 +3,6 @@ Protocol 2
|
||||||
|
|
||||||
HostKey /etc/ssh/ssh_host_rsa_key
|
HostKey /etc/ssh/ssh_host_rsa_key
|
||||||
HostKey /etc/ssh/ssh_host_ecdsa_key
|
HostKey /etc/ssh/ssh_host_ecdsa_key
|
||||||
HostKey /etc/ssh/ssh_host_ed25519_key
|
|
||||||
UsePrivilegeSeparation yes
|
UsePrivilegeSeparation yes
|
||||||
|
|
||||||
KeyRegenerationInterval 3600
|
KeyRegenerationInterval 3600
|
||||||
|
|
Loading…
Reference in New Issue