removed deprecated options
This commit is contained in:
parent
b0f17730cc
commit
4687b78056
2 changed files with 6 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ V14="go1.4.3"
|
|||
bootstrap="${INSTALL}/bootstrap-${V14}"
|
||||
TGZ14="${V14}.tar.gz"
|
||||
|
||||
Vnew="go1.9.2"
|
||||
Vnew="go1.11.1"
|
||||
TGZnew="${Vnew}.tar.gz"
|
||||
|
||||
rm -rf ${INSTALL}/go*
|
||||
|
|
|
|||
|
|
@ -75,6 +75,11 @@ PasswordAuthentication no
|
|||
PrintMotd no
|
||||
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
|
||||
Linux)
|
||||
cat <<EOF>> /etc/ssh/sshd_config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue