We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim /etc/ssh/sshd_config
[root@pluto ~]# grep 'Port ' /etc/ssh/sshd_config Port 22 Port 1984
firewall-cmd --zone public --add-port 1984/tcp --permanent && firewall-cmd --reload
semanage port -a -t ssh_port_t -p tcp 1984
systemctl reload sshd
$ ss -tulpn | grep 1984 tcp LISTEN 0 128 0.0.0.0:1984 0.0.0.0:* users:(("sshd",pid=1349,fd=3)) tcp LISTEN 0 128 [::]:1984 [::]:* users:(("sshd",pid=1349,fd=4))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
vim /etc/ssh/sshd_config
Result
firewall-cmd --zone public --add-port 1984/tcp --permanent && firewall-cmd --reload
semanage port -a -t ssh_port_t -p tcp 1984
systemctl reload sshd
The text was updated successfully, but these errors were encountered: