Adicionar server_v2.sh
This commit is contained in:
parent
8342a3159a
commit
8a0f9d437d
40
server_v2.sh
Normal file
40
server_v2.sh
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user