SSH

ポート変更

# vi /etc/ssh/sshd_config

Port XXXXX

# sshd -t
# vi /etc/network/if-pre-up.d/iptables

#iptables -A INPUT -p tcp --dport ssh -m state --state NEW -j ACCEPT
iptables -A INPUT -p tcp --dport XXXXX -m state --state NEW -j ACCEPT
vps/030-030ssh.txt · 最終更新: 2017/07/07 08:15 by admin
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0