From 8a0f9d437d3b7e654f12b1ca65e887bf2b1beb7c Mon Sep 17 00:00:00 2001 From: Halbe Bruno Date: Thu, 3 Apr 2025 15:54:37 -0300 Subject: [PATCH] Adicionar server_v2.sh --- server_v2.sh | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 server_v2.sh diff --git a/server_v2.sh b/server_v2.sh new file mode 100644 index 0000000..b644121 --- /dev/null +++ b/server_v2.sh @@ -0,0 +1,40 @@ +#server.sh v2 +# func. ssh + +> check port 8462 + +/etc/ssh/sshd_config: + +#Port 22 > Port 8462 +#PermitRootLogin prohibit-password > PermitRootLogin no + + +_apt() { +deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free +deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free + +deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free +deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free + +deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free +deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free +} + +_util() { + apt install -y firmware-linux firmware-linux-free \ + firmware-linux-nonfree bash-completion net-tools \ + nftables traceroute tcptraceroute htop iotop curl \ + wget iptraf-ng apt-transport-https rsyslog mtr-tiny \ + sudo whois ethtool +} + +_bashrc() { +} + +_motd() { +} + +_teccnia() { +} + +## Execução do script \ No newline at end of file