sshdの設定  
            vi /etc/ssh/sshd_config  
                
              設定内容(一部)   
                
              (変更)SSH2でのみ接続を許可  
              Protocol 2  
                
              (変更)ログを/var/log/secureに記録する  
              SyslogFacility AUTHPRIV  
                
              (変更)rootでのログインを禁止  
              PermitRootLogin no  
                
              (追加)接続許可ユーザー  
              AllowUsers hoge1 hoge2  
              
            SSHサーバーへアクセスできるホストを制限  
             echo "sshd:127.0.0.1" >> /etc/hosts.allow  
              echo "sshd:192.168.100." >> /etc/hosts.allow  
              echo "sshd:192.168.101." >> /etc/hosts.allow  
              echo "sshd:.yahoo.co.jp" >> /etc/hosts.allow  
              echo "sshd:ALL" >> /etc/hosts.deny  
              
            Telnetサーバー削除  
            Telnetサーバー自動起動無効化  
              chkconfig telnet off  
                
              xinetd再起動   
              /etc/rc.d/init.d/xinetd restart  
                
              Telnetサーバーアンインストール  
              yum -y remove telnet-server   |