mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
disable ssh roaming
This commit is contained in:
parent
403e57c6d4
commit
187cd77b26
1 changed files with 7 additions and 0 deletions
|
@ -144,6 +144,13 @@ EOF
|
||||||
# Let's modify the sources list
|
# Let's modify the sources list
|
||||||
sed -i '/cdrom/d' /etc/apt/sources.list
|
sed -i '/cdrom/d' /etc/apt/sources.list
|
||||||
|
|
||||||
|
# Let's make sure SSH roaming is turned off (CVE-2016-0777, CVE-2016-0778)
|
||||||
|
fuECHO "### Let's make sure SSH roaming is turned off."
|
||||||
|
tee -a /etc/ssh/ssh_config <<EOF
|
||||||
|
UseRoaming no
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
||||||
# Let's pull some updates
|
# Let's pull some updates
|
||||||
fuECHO "### Pulling Updates."
|
fuECHO "### Pulling Updates."
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
|
|
Loading…
Reference in a new issue