open port 22 centos 7
firewall-cmd --zone=public --add-port=55555/tcp --permanent
firewall-cmd --reload##By firewall-add port 22
firewall-cmd --zone=public --add-port=22/tcp --permanent
firewall-cmd --reload
#check if port 22 open
iptables-save | grep 22
#Remove port 22
firewall-cmd --zone=public --remove-port=22/tcp --permanent
firewall-cmd --reload
##By iptables= add port 22
service iptables status
service iptables start
chkconfig --list iptables
chkconfig iptables on
iptables -L
#add port
iptables -A INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
#delete port
iptables -D INPUT -i eth0 -p tcp --dport 22 -j ACCEPT
#check if port 22 open
iptables-save | grep 22
Also in C++:
- instagram "error_type": "OAuthException", "code": 400, "error_message": "Invalid authorization code"}%
- expo install globally
- groupadd to folder linux fedora
- how to install sublime in ubuntu 20.04 using terminal
- usg rtsp conntrack
- github private key
- install and set up mariadb django
- linux remove large number of files
- ubuntu generate ssh key
- how to install imagemagick in linux
- deploy vuejs heroku
- docker run jenkins
- show remotes list git
- curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it.
- print in bash
- kubectl create namespace
- dos findstr
- nmap scan ubuntu
- ubuntu clear dns cache
- remove last field using awk
- vendor/autoload.php download
- how to instal psql linux
- awk delimiter semi-colon
- react native reactotron bug