summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in6
2 files changed, 1 insertions, 7 deletions
diff --git a/debian/control b/debian/control
index 7c3523b6..da1532a3 100644
--- a/debian/control
+++ b/debian/control
@@ -36,7 +36,6 @@ Depends: adduser,
mdadm,
ddclient (>= 3.8.2+vyos2+current1),
libio-socket-ssl-perl,
- vyatta-biosdevname,
ipvsadm (>= 1:1.24-2.1),
radvd (>= 1:1.1-3),
apt-transport-https,
@@ -52,6 +51,7 @@ Depends: adduser,
grub-efi-amd64-bin,
dosfstools,
gdisk,
+ vyatta-biosdevname,
${arch:Depends}
Pre-Depends: bash-completion
Suggests: util-linux (>= 2.13-5),
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 18e84055..708251b3 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -60,12 +60,6 @@ if [ "$sysconfdir" != "/etc" ]; then
sed -i 's/^#PasswordAuthentication/PasswordAuthentication/' /etc/ssh/sshd_config
sed -i '/^PasswordAuthentication/s/no/yes/' /etc/ssh/sshd_config
- # add HostKeys for protocol version 1
- if ! grep -q '^HostKey /etc/ssh/ssh_host_key' /etc/ssh/sshd_config; then
- echo '# HostKey for protocol version 1' >> /etc/ssh/sshd_config
- echo 'HostKey /etc/ssh/ssh_host_key' >> /etc/ssh/sshd_config
- fi
-
# add UseDNS line
sed -i '/^UseDNS/d' /etc/ssh/sshd_config
echo 'UseDNS yes' >>/etc/ssh/sshd_config