Difference between revisions of "Ssh: ubah port & firewall"

From OnnoWiki
Jump to: navigation, search
(Created page with "Ubah nano –w /etc/ssh/sshd_config Port 22 ---> 2022 Ubah firewall iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 2022 -j ACCEPT")
 
(No difference)

Latest revision as of 05:00, 30 July 2020

Ubah

nano –w /etc/ssh/sshd_config
Port 22 ---> 2022


Ubah firewall

iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 2022 -j ACCEPT