Stop the Denyhosts service

/etc/init.d/denyhosts stop

Remove your IP from the log file

vi /etc/hosts.deny

(Look for your IP then “dd” on the line to remove it, then “ZZ” to save and exit)

Check to see if your IP is in any other files

grep "" /var/lib/denyhosts/*

Start the Denyhosts service again

/etc/init.d/denyhosts start

Adapted from the following post : DenyHosts: Remove / Delete an IP address