zoukankan      html  css  js  c++  java
  • Remove ip from hosts.deny

    This worked for me on Centos. Follow the 8 steps below and you should be good to go.

    Stop DenyHosts

    # services denyhosts stop

    Remove the IP address from /etc/hosts.deny

    Edit /var/lib/denyhosts/hosts and remove the lines containing the IP address. Save the file.

    Edit /var/lib/denyhosts/hosts-restricted and remove the lines containing the IP address. Save the file.

    Edit /var/lib/denyhosts/hosts-root and remove the lines containing the IP address. Save the file.

    Edit /var/lib/denyhosts/hosts-valid and remove the lines containing the IP address. Save the file.

    Edit /var/lib/denyhosts/users-hosts and remove the lines containing the IP address. Save the file.

    (optional) Consider adding the IP address to /var/lib/denyhosts/allowed-hosts

    Start DenyHosts

    # services denyhosts start
    4ever Love for my Girl
  • 相关阅读:
    拯救公主
    爱情之路
    无聊的会议
    对拍检验程序
    TCP三次握手
    OA系统走过的的坑之部门岗位管理
    蓝屏警告
    三级联动
    Ajax二级联动
    近期疑惑和总结
  • 原文地址:https://www.cnblogs.com/lotus-white/p/10523809.html
Copyright © 2011-2022 走看看