Update SSH-Configuration.bash
This commit is contained in:
parent
45ca1421aa
commit
9c0a26a64a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.back
|
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.back
|
||||||
|
|
||||||
cat << EOF | sudo tee "/etc/ssh/banner"
|
cat << 'EOF' | sudo tee "/etc/ssh/banner"
|
||||||
|
|
||||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
┃ Cloud Technology - Security Notice ┃
|
┃ Cloud Technology - Security Notice ┃
|
||||||
@ -11,7 +11,7 @@ cat << EOF | sudo tee "/etc/ssh/banner"
|
|||||||
┃ proprietary information. Unauthorized use is strictly ┃
|
┃ proprietary information. Unauthorized use is strictly ┃
|
||||||
┃ prohibited. No portions may be copied, reproduced, ┃
|
┃ prohibited. No portions may be copied, reproduced, ┃
|
||||||
┃ or incorporated outside of this domain without ┃
|
┃ or incorporated outside of this domain without ┃
|
||||||
┃ Cloud Hybrid LLCs or Price Hiller's ┃
|
┃ Cloud Technology LLC's or Price Hiller's ┃
|
||||||
┃ prior written consent. ┃
|
┃ prior written consent. ┃
|
||||||
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
||||||
|
|
||||||
@ -42,4 +42,4 @@ Subsystem sftp /usr/libexec/openssh/sftp-server
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sudo systemctl restart sshd.service
|
sudo systemctl restart sshd.service
|
||||||
|
Loading…
Reference in New Issue
Block a user