removed deprecated options

This commit is contained in:
ston1th 2018-12-18 21:53:13 +01:00
commit 4687b78056
2 changed files with 6 additions and 1 deletions

View file

@ -13,7 +13,7 @@ V14="go1.4.3"
bootstrap="${INSTALL}/bootstrap-${V14}" bootstrap="${INSTALL}/bootstrap-${V14}"
TGZ14="${V14}.tar.gz" TGZ14="${V14}.tar.gz"
Vnew="go1.9.2" Vnew="go1.11.1"
TGZnew="${Vnew}.tar.gz" TGZnew="${Vnew}.tar.gz"
rm -rf ${INSTALL}/go* rm -rf ${INSTALL}/go*

View file

@ -75,6 +75,11 @@ PasswordAuthentication no
PrintMotd no PrintMotd no
EOF EOF
if [ "${UNAME}" = "OpenBSD" ]; then
sed -i '/UsePrivilegeSeparation/d' /etc/ssh/sshd_config
sed -i '/RSAAuthentication/d' /etc/ssh/sshd_config
fi
case ${UNAME} in case ${UNAME} in
Linux) Linux)
cat <<EOF>> /etc/ssh/sshd_config cat <<EOF>> /etc/ssh/sshd_config