Update Setup.sh
This commit is contained in:
parent
6ea6be8238
commit
eaf3699f58
1 changed files with 0 additions and 2 deletions
2
Setup.sh
2
Setup.sh
|
|
@ -35,7 +35,6 @@ sed -i 's/^#\?\s*UsePAM\s\+.*/UsePAM no/' /etc/ssh/sshd_config
|
|||
|
||||
echo "[6/7] Setting SSH login banner..."
|
||||
cat << 'EOF' > /etc/issue.net
|
||||
\033[1;34m
|
||||
AUTHORIZED ACCESS ONLY
|
||||
Disconnect immediately if you are not an authorized user.
|
||||
|
||||
|
|
@ -46,7 +45,6 @@ Disconnect immediately if you are not an authorized user.
|
|||
| |\ | | (__| <| |_| | | (_) | | | | | (__ _| |_ | | | |____| |___| |____
|
||||
|_| \_|_|\___|_|\_\\__|_| \___/|_| |_|_|\___| |_____| |_| |______|______\_____|
|
||||
|
||||
\033[0m
|
||||
EOF
|
||||
|
||||
sed -i 's|^#\?\s*Banner\s\+.*|Banner /etc/issue.net|' /etc/ssh/sshd_config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue