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