Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions make_linux_nice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ cp -f "$this_dir/nice-linux/.bash_prompt" /root/
cp -f "$this_dir/nice-linux/.profile" /root/
cp -f "$this_dir/nice-linux/.vimrc" /root/
cp -rf "$this_dir/nice-linux/.ssh" /root/
cp -rf "$this_dir/nice-linux/motd" /etc/

echo " - Configuring ssh KeepAlive settings..."
sed -i -E 's|^#[[:blank:]]*ClientAliveInterval[[:blank:]]*.*$|ClientAliveInterval 60|g; s|^#[[:blank:]]*ClientAliveCountMax[[:blank:]]*.*$|ClientAliveCountMax 10|g' /etc/ssh/sshd_config
Expand Down
6 changes: 6 additions & 0 deletions nice-linux/motd
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
_____ .__ ____________________
/ \ |__|/ _____/\__ ___/__________
/ \ / \| |\_____ \ | |_/ __ \_ __ \
/ Y \ |/ \ | |\ ___/| | \/
\____|__ /__/_______ / |____| \___ >__|
\/ \/ \/