paroponの日記

興味のある技術の覚え書きです

2015-03-20から1日間の記事一覧

centos6でSSH設定

ファイヤーウォールが効いているので、22番ポートを開ける。 suコマンドでrootになる。 /etc/sysconfig/iptables に -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT を追加する。 再起動する /etc/init.d/iptables restart SELinuxを無…