Tuesday, June 14, 2011

Clear your visit traces at remote host

    rm /root/.ssh/known_hosts;
    rm /home/otc/.ssh/known_hosts;
    echo ""  > /var/log/lastlog;
    echo ""  > /var/log/wtmp;
    echo ""  > /var/log/syslog;
    echo ""  > /home/otc/.bash_history;
    echo ""  > /root/.bash_history;


No comments:

Post a Comment