kubectl delete -f pcc.yml ;
kubectl apply -f pcc.yml ;sleep 6 ;
kubectl get pod -n pcc -o wide
vim /etc/ssh/sshd_config
----------------------------
# PermitRootLogin no
PermitRootLogin yes
----------------------------
systemctl restart sshd
UDP端口监测
netcat
Note: Default protocal is TCP, -u: UDP protocal;
Linux UDP
# install netcat
yum install nc
# Server: listen localhost UDP port
nc -l -u 25000
# Client:
nc -u ip port
Windows UDP
# download and install netcat
1. https://eternallybored.org/misc/netcat/
2. unzip # ~/dir
3. open cmd
4. cd ~/dir
5. nc.exe #use# listen localhost UDP port
nc.exe -lu -p ip port